BUG 12702 No se pueden editar usuarios SOLVED

- No se pueden editar usuarios
- Deleted console log tracer.
This commit is contained in:
Hector Cortez
2013-08-16 11:14:39 -04:00
parent 53b4e0ce3f
commit ba9ade3c6f

View File

@@ -1126,9 +1126,7 @@ function saveUser()
var confPass = frmDetails.getForm().findField('USR_CNF_PASS').getValue(); var confPass = frmDetails.getForm().findField('USR_CNF_PASS').getValue();
if (confPass === newPass) { if (confPass === newPass) {
console.log("Dentro de password no modificado");
if(typeof(EDITPROFILE) != "undefined" && EDITPROFILE == 1 && newPass != "") { if(typeof(EDITPROFILE) != "undefined" && EDITPROFILE == 1 && newPass != "") {
console.log("Entro por then");
var currentPassword = Ext.getCmp("currentPassword").getValue(); var currentPassword = Ext.getCmp("currentPassword").getValue();
if(currentPassword != "") { if(currentPassword != "") {