Fix conflict with the USR_STATUS identifiers on the ExtJs script

This commit is contained in:
Julio Cesar Laura
2012-09-12 16:00:28 -04:00
parent 00492b47a7
commit e37010da73

View File

@@ -343,7 +343,7 @@ Ext.onReady(function () {
}); });
var status = new Ext.data.SimpleStore({ var status = new Ext.data.SimpleStore({
fields: ["USR_STATUS", "status"], fields: ["USR_STATUS_VALUE", "status"],
data: [["ACTIVE", _("ID_ACTIVE")], ["INACTIVE", _("ID_INACTIVE")], ["VACATION", _("ID_VACATION")]] data: [["ACTIVE", _("ID_ACTIVE")], ["INACTIVE", _("ID_INACTIVE")], ["VACATION", _("ID_VACATION")]]
}); });
@@ -356,7 +356,7 @@ Ext.onReady(function () {
mode : 'local', mode : 'local',
store : status, store : status,
displayField : 'status', displayField : 'status',
valueField : 'USR_STATUS', valueField : 'USR_STATUS_VALUE',
width : 120, width : 120,
typeAhead : true, typeAhead : true,
triggerAction : 'all', triggerAction : 'all',