summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_rules.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-07-11 20:57:02 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-07-11 20:57:12 -0400
commit7abaeb1fa5fab8f9bf3bf6f745bc228938bcb5f1 (patch)
treea9d8037c6f26a53b50933a4448bee1673d107777 /usr/local/www/firewall_rules.php
parent087a89f823d366d3588c5ce1ca351b6e2dcee2d3 (diff)
downloadpfsense-7abaeb1fa5fab8f9bf3bf6f745bc228938bcb5f1.zip
pfsense-7abaeb1fa5fab8f9bf3bf6f745bc228938bcb5f1.tar.gz
Use the move pointer type
Diffstat (limited to 'usr/local/www/firewall_rules.php')
-rwxr-xr-xusr/local/www/firewall_rules.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr/local/www/firewall_rules.php b/usr/local/www/firewall_rules.php
index a91f851..c39615a 100755
--- a/usr/local/www/firewall_rules.php
+++ b/usr/local/www/firewall_rules.php
@@ -752,16 +752,17 @@ echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript
</table>
<input type="hidden" name="if" value="<?=$if;?>">
<script type="text/javascript">
+ var number_of_rules = <?=$nrules?>;
<?php $nrules = 0; for ($i = 0; isset($a_filter[$i]); $i++): ?>
Sortable.create("dragtable", {
tag:"tr",
format:"fr([0-9999999])",
containment:["dragtable"],
- onChange: function() {
- document.body.style.cursor = 'pointer';
+ onChange:function(affected) {
+ document.body.style.cursor = 'move';
},
- onUpdate:function() {
- document.body.style.cursor = 'pointer';
+ onUpdate:function(container) {
+ document.body.style.cursor = 'move';
updateOrder(Sortable.serialize('dragtable', 'tr'));
}
});
OpenPOWER on IntegriCloud