HOR-662
Categoria> Permite crear categorias con etiquetas HTML. cuando tienen el mismo nombre no se las puede diferenciar.
This commit is contained in:
@@ -125,7 +125,17 @@ Ext.onReady(function(){
|
||||
frame: true,
|
||||
items:[
|
||||
{xtype: 'textfield', name: 'cat_uid', hidden: true },
|
||||
{xtype: 'textfield', fieldLabel: _('ID_CATEGORY_NAME'), name: 'category', width: 250, maxLength :100, allowBlank: false}
|
||||
{
|
||||
xtype: 'textfield',
|
||||
fieldLabel: _('ID_CATEGORY_NAME'),
|
||||
name: 'category',
|
||||
width: 250,
|
||||
maxLength :100,
|
||||
allowBlank: false,
|
||||
validator: function (v) {
|
||||
return !/[:<>/]/.test(v);
|
||||
}
|
||||
}
|
||||
],
|
||||
buttons: [
|
||||
{text: _('ID_SAVE'), handler: UpdateCategory},
|
||||
|
||||
Reference in New Issue
Block a user