From 4240d8aff27d5d1df67f870ea96cf86b837bcafd Mon Sep 17 00:00:00 2001 From: dheeyi Date: Tue, 10 Mar 2015 12:00:50 -0400 Subject: [PATCH] PM-1740 Admin>User>New: El field Last Name es "required" sin embargo no tiene asterisco rojo Causa: Definicion previa. Solucion: Hacer que estes campos tambien tenga esa caracteristica. Nota.- Son requeridos solo en caso de creacion de un nuevo usuario en caso de edicion ya no se muestran como requeridos. --- workflow/engine/templates/users/users.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/workflow/engine/templates/users/users.js b/workflow/engine/templates/users/users.js index fbbc00315..4f56e47a6 100755 --- a/workflow/engine/templates/users/users.js +++ b/workflow/engine/templates/users/users.js @@ -406,7 +406,7 @@ Ext.onReady(function () { items : [ { id : 'USR_FIRSTNAME', - fieldLabel : MODE == 'edit' ? _('ID_FIRSTNAME') : ' * ' + _('ID_FIRSTNAME'), + fieldLabel : ' * ' + _('ID_FIRSTNAME'), xtype : 'textfield', width : 260, allowBlank : false @@ -420,7 +420,7 @@ Ext.onReady(function () { }, { id : 'USR_USERNAME', - fieldLabel : MODE == 'edit' ? _('ID_USER_ID') : ' * ' + _('ID_USER_ID'), + fieldLabel : ' * ' + _('ID_USER_ID'), xtype : 'textfield', width : 260, allowBlank : false, @@ -459,7 +459,7 @@ Ext.onReady(function () { }, { id : 'USR_EMAIL', - fieldLabel : MODE == 'edit' ? _('ID_EMAIL') : ' * ' + _('ID_EMAIL'), + fieldLabel : ' * ' + _('ID_EMAIL'), vtype : 'email', xtype : 'textfield', width : 260,