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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user