[OBUISEL] Added pickListFields to FK filter editor
authorIván Perdomo <ivan.perdomo@openbravo.com>
Sun, 06 Mar 2011 20:27:15 +0100
changeset 11041 583db6a6f29c
parent 11040 329854993f0a
child 11042 a6e2d070652e
[OBUISEL] Added pickListFields to FK filter editor
modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-filter-select-item.js
--- a/modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-filter-select-item.js	Sun Mar 06 19:53:48 2011 +0100
+++ b/modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-filter-select-item.js	Sun Mar 06 20:27:15 2011 +0100
@@ -19,6 +19,11 @@
 isc.ClassFactory.defineClass('OBSelectorFilterSelectItem', SelectItem);
 
 isc.OBSelectorFilterSelectItem.addProperties({
+  pickListFields: [{
+    name: OB.Constants.IDENTIFIER,
+    displayField: OB.Constants.IDENTIFIER,
+    valueField: OB.Constants.ID
+  }],
 
   init: function() {
     OB.Datasource.get(this.entity, this);