Explorar el Código

fix 6710 snmp submit

Avetisyan Karen hace 2 años
padre
commit
312004b362
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  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) {