fixed bug 25922: process definition with multiple selector fails
authorAsier Lostalé <asier.lostale@openbravo.com>
Thu, 06 Mar 2014 16:34:41 +0100
changeset 22643 00a151751c86
parent 22642 30630ff35104
child 22644 30b8282116f5
fixed bug 25922: process definition with multiple selector fails

Resetting with is no longer required as now it is properly updated, setting it
caused an exception
modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-multi-selector-item.js
--- a/modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-multi-selector-item.js	Thu Mar 06 16:22:11 2014 +0100
+++ b/modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-multi-selector-item.js	Thu Mar 06 16:34:41 2014 +0100
@@ -156,18 +156,6 @@
     }
   },
 
-
-  redrawn: function () {
-    this.fixWidth();
-    this.Super('redrawn', arguments);
-  },
-  fixWidth: function () {
-    // hack to adapt the whole item width, so it takes the same space as other items
-    var w = this.containerWidget.width / this.containerWidget.numCols - this.iconWidth - 3;
-    if (this.width !== w) {
-      this.setWidth(w);
-    }
-  },
   // resets whole selection to the records passed as parameter
   setSelectedRecords: function (records) {
     var i;