summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-04-21 12:18:03 -0400
committerStephen Beaver <sbeaver@netgate.com>2016-04-21 12:18:40 -0400
commit995454f305ac46606af0e3a289d98c7519a41498 (patch)
tree97c5d8074b99d48e1107f45fa02cc417da89e1f6 /src
parent87bac5cfa5a96d204ee2c538499b9d7c46f0f047 (diff)
downloadpfsense-995454f305ac46606af0e3a289d98c7519a41498.zip
pfsense-995454f305ac46606af0e3a289d98c7519a41498.tar.gz
ALternative fix for #6092 uses icon to indicate insertion point rather than cell border.
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/firewall_rules.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/local/www/firewall_rules.php b/src/usr/local/www/firewall_rules.php
index dc9c192..afe2220 100644
--- a/src/usr/local/www/firewall_rules.php
+++ b/src/usr/local/www/firewall_rules.php
@@ -951,13 +951,15 @@ events.push(function() {
reindex_rules($(anchor_row).parent('tbody'));
dirty = true;
}).mouseover(function(e) {
+ $(this).css("cursor", "default");
+
if (e.shiftKey) {
- $(this).parents('tr').css('border-bottom', '4px solid green');
+ $(this).removeClass().addClass("fa fa-lg fa-arrow-down text-danger");
} else {
- $(this).parents('tr').css('border-top', '4px solid green');
+ $(this).removeClass().addClass("fa fa-lg fa-arrow-up text-danger");
}
}).mouseout(function(e) {
- $(this).parents('tr').css('border', '0px');
+ $(this).removeClass().addClass("fa fa-anchor");
});
// Make rules sortable. Hiding the table before applying sortable, then showing it again is
OpenPOWER on IntegriCloud