summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_shaper_vinterface.php
diff options
context:
space:
mode:
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