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.
This commit is contained in:
dheeyi
2015-03-10 11:41:06 -04:00
parent adac6d724f
commit 54e01ad68e

View File

@@ -400,7 +400,7 @@ Ext.onReady(function () {
triggerAction : 'all', triggerAction : 'all',
mode : 'local' mode : 'local'
}); });
var informationFields = new Ext.form.FieldSet({ var informationFields = new Ext.form.FieldSet({
title : _('ID_PERSONAL_INFORMATION'), title : _('ID_PERSONAL_INFORMATION'),
items : [ items : [
@@ -413,7 +413,7 @@ Ext.onReady(function () {
}, },
{ {
id : 'USR_LASTNAME', id : 'USR_LASTNAME',
fieldLabel : MODE == 'edit' ? _('ID_LASTNAME') : '<span style=\"color:red;\" ext:qtip="'+ _('ID_FIELD_REQUIRED', _('ID_LASTNAME')) +'"> * </span>' + _('ID_LASTNAME'), fieldLabel : '<span style=\"color:red;\" ext:qtip="'+ _('ID_FIELD_REQUIRED', _('ID_LASTNAME')) +'"> * </span>' + _('ID_LASTNAME'),
xtype : 'textfield', xtype : 'textfield',
width : 260, width : 260,
allowBlank : false allowBlank : false