summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-29 11:19:29 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-29 11:19:29 -0500
commit511053ad839b978014eca52cb2124e54968c3f50 (patch)
tree562929f29bffb85532a43283eafec4e361f9c327 /src
parentbe624266bf94dfc4124fdeb5406f74cb8f2e66d9 (diff)
downloadpfsense-511053ad839b978014eca52cb2124e54968c3f50.zip
pfsense-511053ad839b978014eca52cb2124e54968c3f50.tar.gz
Possible fix for #5752
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/firewall_rules.php7
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);
OpenPOWER on IntegriCloud