summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_rules_edit.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-01-26 12:40:54 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-01-26 12:40:54 -0500
commitd2753119b681d02d667d5484c3d732c648b4277e (patch)
tree720face043cb6f4712dae5ae82b3e93044f847b2 /src/usr/local/www/firewall_rules_edit.php
parent2e79385a94397f3dafcaceb8f5b9220f07e88762 (diff)
downloadpfsense-d2753119b681d02d667d5484c3d732c648b4277e.zip
pfsense-d2753119b681d02d667d5484c3d732c648b4277e.tar.gz
Disable save button on clicking 'save'. Prevents double-dipping
Diffstat (limited to 'src/usr/local/www/firewall_rules_edit.php')
-rw-r--r--src/usr/local/www/firewall_rules_edit.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/local/www/firewall_rules_edit.php b/src/usr/local/www/firewall_rules_edit.php
index 1572855..dc638f3 100644
--- a/src/usr/local/www/firewall_rules_edit.php
+++ b/src/usr/local/www/firewall_rules_edit.php
@@ -1875,6 +1875,10 @@ events.push(function() {
ext_change();
});
+ $('#save').on('click', function() {
+ disableInput('save');
+ });
+
$('#dstbeginport').on('change', function() {
dst_rep_change();
ext_change();
OpenPOWER on IntegriCloud