diff options
Diffstat (limited to 'src/usr/local/www/firewall_rules.php')
-rw-r--r-- | src/usr/local/www/firewall_rules.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/usr/local/www/firewall_rules.php b/src/usr/local/www/firewall_rules.php index 87a711f..c4d7547 100644 --- a/src/usr/local/www/firewall_rules.php +++ b/src/usr/local/www/firewall_rules.php @@ -886,7 +886,10 @@ configsection = "filter"; events.push(function() { - // Make rules sortable + // Make rules sortable. Hiding the table before applying sortable, then showing it again is + // a work-around for very slow sorting on FireFox + $('table tbody.user-entries').hide(); + $('table tbody.user-entries').sortable({ cursor: 'grabbing', update: function(event, ui) { @@ -896,6 +899,8 @@ events.push(function() { } }); + $('table tbody.user-entries').show(); + // Check all of the rule checkboxes so that their values are posted $('#order-store').click(function () { $('[id^=frc]').prop('checked', true); |