[OBUISEL] Properly get selected record on picklist.
authorGorka Ion Damián <gorkaion.damian@openbravo.com>
Tue, 08 Mar 2011 18:39:55 +0100
changeset 11118 9e6ab77d2e31
parent 11117 3664b5719f23
child 11119 ee140835baf7
[OBUISEL] Properly get selected record on picklist.
modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
--- a/modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js	Tue Mar 08 18:31:39 2011 +0100
+++ b/modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js	Tue Mar 08 18:39:55 2011 +0100
@@ -418,7 +418,7 @@
   
   pickValue: function(value){
     var ret = this.Super('pickValue', arguments);
-    this.setValueFromRecord(this.getSelectedRecord());
+    this.setValueFromRecord(this.pickList.getSelectedRecord());
     return ret;
   },