Browse Source

fix 6710 snmp submit

Avetisyan Karen 2 years ago
parent
commit
312004b362
2 changed files with 2 additions and 2 deletions
  1. BIN
      web_interface/dist/wui-10/role.js
  2. 2 2
      web_interface/src/wui-10/role.js

BIN
web_interface/dist/wui-10/role.js


+ 2 - 2
web_interface/src/wui-10/role.js

@@ -424,9 +424,9 @@ function cbToBit(id, n){
 function arrayToBitMask(id){
   // var parent = $(id).id;
   var snmp = cbToBit('cb0'+id, 0);
-  var sms = cbToBit('cb1'+id, 1);
+  // var sms = cbToBit('cb1'+id, 1);
   // var email = cbToBit('cb2'+id, 2);
-  return binaryToDecimal( decimalToBinary( (snmp | sms) ) );
+  return binaryToDecimal( decimalToBinary( (snmp) ) );
 }
 
 function NotificationBox (id, options) {