From 1f73ccba3f44f8b0cdc87737a1369e14c25096cc Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Thu, 28 Jan 2016 13:08:02 -0500 Subject: Remove no longer needed code --- src/usr/local/www/firewall_rules.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/usr') diff --git a/src/usr/local/www/firewall_rules.php b/src/usr/local/www/firewall_rules.php index 0e3db1d..fc14e2c 100644 --- a/src/usr/local/www/firewall_rules.php +++ b/src/usr/local/www/firewall_rules.php @@ -882,7 +882,7 @@ events.push(function() { cursor: 'grabbing', update: function(event, ui) { $('#order-store').removeAttr('disabled'); - reindex_rules(ui.item.parent('tbody'), ui.item.index); + reindex_rules(ui.item.parent('tbody')); dirty = true; } }); @@ -1013,12 +1013,11 @@ events.push(function() { }); } - function reindex_rules(section, startingat) { + function reindex_rules(section) { var row = 0; section.find('tr').each(function() { if(this.id) { -// $(this).attr("id", bumpStringInt($(this).attr("id"))); $(this).attr("id", "fr" + row); row++; } -- cgit v1.1