summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_shaper_vinterface.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-12-28 09:20:13 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-12-28 09:20:13 -0500
commit23f4c08f0ba22b517b20f66f912f876018ed6d59 (patch)
tree9018b099636cfc1b87ec94b931aaa8f906432871 /src/usr/local/www/firewall_shaper_vinterface.php
parentf7a28f98097ff75f1fa1c354b031db3f17bc1851 (diff)
downloadpfsense-23f4c08f0ba22b517b20f66f912f876018ed6d59.zip
pfsense-23f4c08f0ba22b517b20f66f912f876018ed6d59.tar.gz
Fixes issue where limiter mask does not save (from forum)
Diffstat (limited to 'src/usr/local/www/firewall_shaper_vinterface.php')
-rw-r--r--src/usr/local/www/firewall_shaper_vinterface.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/firewall_shaper_vinterface.php b/src/usr/local/www/firewall_shaper_vinterface.php
index d99b9b7..506a525 100644
--- a/src/usr/local/www/firewall_shaper_vinterface.php
+++ b/src/usr/local/www/firewall_shaper_vinterface.php
@@ -478,8 +478,8 @@ events.push(function() {
}
function change_masks() {
- disableInput('maskbits', ($('#scheduler').val() == 'none'));
- disableInput('maskbitsv6', ($('#scheduler').val() == 'none'));
+ disableInput('maskbits', ($('#mask').val() == 'none'));
+ disableInput('maskbitsv6', ($('#mask').val() == 'none'));
}
// ---------- On initial page load ------------------------------------------------------------
@@ -488,7 +488,7 @@ events.push(function() {
// ---------- Click checkbox handlers ---------------------------------------------------------
- $('#scheduler').on('change', function() {
+ $('#mask').on('change', function() {
change_masks();
});
});
OpenPOWER on IntegriCloud