details:   https://code.openbravo.com/erp/devel/pi/rev/983d21838275
changeset: 22876:983d21838275
user:      Augusto Mauch <augusto.mauch <at> openbravo.com>
date:      Tue Apr 15 13:34:54 2014 +0200
summary:   Fixes issue 26231: Fixes bug that provoked a js error before calling 
the FIC

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js
 |  2 +-
 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
  |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 3b5ab481e397 -r 983d21838275 
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 Apr 15 12:35:28 2014 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-tree-view-grid.js
        Tue Apr 15 13:34:54 2014 +0200
@@ -383,7 +383,7 @@
     var selectedRecordId = this.getSelectedRecord() ? 
this.getSelectedRecord().id : null,
         length, tabViewPane, i;
     this.view.updateSubtabVisibility();
-    this.toolBar.updateButtonState();
+    this.view.toolBar.updateButtonState();
     // refresh the tabs
     if (this.view.childTabSet) {
       length = this.view.childTabSet.tabs.length;
diff -r 3b5ab481e397 -r 983d21838275 
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 Apr 15 12:35:28 2014 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
 Tue Apr 15 13:34:54 2014 +0200
@@ -1536,7 +1536,7 @@
     if (this.parentView.viewGrid.getSelectedRecord()._new) {
       return null;
     }
-    if (this.isShowingTree) {
+    if (this.parentView.isShowingTree) {
       grid = this.parentView.treeGrid;
     } else {
       grid = this.parentView.viewGrid;

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to