[Tree Extension] Include the criteria when a tree view grid is refreshed
authorAugusto Mauch <augusto.mauch@openbravo.com>
Wed, 19 Feb 2014 15:38:52 +0100
changeset 22512 106d5d070f33
parent 22511 a34353a80b6b
child 22513 1582762c9d89
[Tree Extension] Include the criteria when a tree view grid is refreshed
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js	Tue Feb 18 17:30:16 2014 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js	Wed Feb 19 15:38:52 2014 +0100
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2010-2013 Openbravo SLU
+ * All portions are Copyright (C) 2010-2014 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  ************************************************************************
@@ -967,7 +967,7 @@
     }
 
     if (this.treeGrid && this.isShowingTree) {
-      this.treeGrid.fetchData();
+      this.treeGrid.fetchData(this.treeGrid.getCriteria());
     }
     this.viewGrid.refreshContents(callback);