[Tree Extension] Show a proper icon for the tree filter
authorAugusto Mauch <augusto.mauch@openbravo.com>
Tue, 04 Mar 2014 18:13:28 +0100
changeset 22622 9045b6f5ede7
parent 22621 47609f402d64
child 22623 dc19cd9da066
[Tree Extension] Show a proper icon for the tree filter
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-tree-filter.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-tree-filter.js	Tue Mar 04 17:38:54 2014 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-tree-filter.js	Tue Mar 04 18:13:28 2014 +0100
@@ -262,9 +262,9 @@
   showPickerIcon: true,
   filterDialogConstructor: isc.OBTreeItemPopupFilterWindow,
   lastValueFromPopup: null,
+  pickerConstructor: 'ImgButton',
   pickerIconDefaults: {
     name: 'showDateRange',
-    src: OB.Styles.skinsPath + 'Default/org.openbravo.client.application/images/form/productCharacteristicsFilter_ico.png',
     width: 21,
     height: 21,
     showOver: false,
@@ -278,6 +278,7 @@
     }
   },
 
+  pickerIconSrc: OB.Styles.skinsPath + 'Default/org.openbravo.client.application/images/form/search_picker.png',
   filterDialogCallback: function (criteria) {
     this.grid.parentElement.setFilterEditorCriteria(criteria);
     this.lastValueFromPopup = this.getValue();