From 511053ad839b978014eca52cb2124e54968c3f50 Mon Sep 17 00:00:00 2001 From: Stephen Beaver Date: Fri, 29 Jan 2016 11:19:29 -0500 Subject: Possible fix for #5752 --- src/usr/local/www/firewall_rules.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/usr/local/www') 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); -- cgit v1.1