Fix conflict with the USR_STATUS identifiers on the ExtJs script
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user