diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-04-21 12:18:03 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-04-21 12:19:17 -0400 |
commit | 348270c3b6292dd7eabdb63afbacd273c37b2df7 (patch) | |
tree | ba8d38b0e352bd48aec5b39afcb608ea3f07c3c0 /src/usr/local/www/firewall_rules.php | |
parent | 3ed75e00995351c62feabd299bcb58e294000978 (diff) | |
download | pfsense-348270c3b6292dd7eabdb63afbacd273c37b2df7.zip pfsense-348270c3b6292dd7eabdb63afbacd273c37b2df7.tar.gz |
ALternative fix for #6092 uses icon to indicate insertion point rather than cell border.
(cherry picked from commit 995454f305ac46606af0e3a289d98c7519a41498)
Diffstat (limited to 'src/usr/local/www/firewall_rules.php')
-rw-r--r-- | src/usr/local/www/firewall_rules.php | 8 |
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 |