Fixes issue 26028: JS error when clicking the 'tree' toolbar icon
authorAugusto Mauch <augusto.mauch@openbravo.com>
Tue, 18 Mar 2014 10:59:33 +0100
changeset 22720 c84042acbfab
parent 22719 5b72cc2f9c66
child 22721 56436da527ee
Fixes issue 26028: JS error when clicking the 'tree' toolbar icon

The OBTreeViewGrid needed to copy the OBGrid definition of setSingleRecordFilterMessage.
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js	Tue Mar 18 11:30:18 2014 +0530
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js	Tue Mar 18 10:59:33 2014 +0100
@@ -77,6 +77,7 @@
     this.emptyMessage = this.view.viewGrid.emptyMessage;
     this.noDataEmptyMessage = this.view.viewGrid.noDataEmptyMessage;
     this.clearFilter = this.view.viewGrid.clearFilter;
+    this.setSingleRecordFilterMessage = this.view.viewGrid.setSingleRecordFilterMessage;
   },
 
   // Sets the fields of the datasource and extends the transformRequest and transformResponse functions