Explorar el Código

new info form

andre hace 5 meses
padre
commit
43dd8c1584
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      app/UI/Client/Templates/assets/js/setting/index.js

+ 7 - 0
app/UI/Client/Templates/assets/js/setting/index.js

@@ -10,4 +10,11 @@ mgEventHandler.on('ModalLoaded', null,function(){
         var self = $(this);
         self.addClass('lu-alert--danger');
     });
+    var mxactive = $('input[name="mxactive"]');
+    var mxthurdata = $('input[name="mxthurdata"]');
+    if(mxthurdata.value == mxactive.value){
+        mxactive.addClass('danger');
+    }else{
+        mxactive.addClass('success');
+    }
 });