summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-28 13:08:02 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-28 13:08:02 -0500
commit1f73ccba3f44f8b0cdc87737a1369e14c25096cc (patch)
tree27f2e1313c85a836a3fe33c3487accb1db0e7cea /src/usr
parentadd097d214a4fdf6ac7a78f75952f4adbdd76aaa (diff)
downloadpfsense-1f73ccba3f44f8b0cdc87737a1369e14c25096cc.zip
pfsense-1f73ccba3f44f8b0cdc87737a1369e14c25096cc.tar.gz
Remove no longer needed code
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/firewall_rules.php5
1 files changed, 2 insertions, 3 deletions
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++;
}
OpenPOWER on IntegriCloud