[Tree Extension] Updates subtab visibility when selecting a record in tree grid
authorAugusto Mauch <augusto.mauch@openbravo.com>
Wed, 22 Jan 2014 17:59:21 +0100
changeset 22498 64127e08c47f
parent 22497 9759c844d094
child 22499 8c9e7678477b
[Tree Extension] Updates subtab visibility when selecting a record in tree grid
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	Wed Dec 18 11:24:07 2013 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js	Wed Jan 22 17:59:21 2014 +0100
@@ -336,6 +336,7 @@
   delayedSelectionUpdated: function (record, recordList) {
     var selectedRecordId = this.getSelectedRecord() ? this.getSelectedRecord().id : null,
         length, tabViewPane, i;
+    this.view.updateSubtabVisibility();
     // refresh the tabs
     if (this.view.childTabSet) {
       length = this.view.childTabSet.tabs.length;