details:   https://code.openbravo.com/erp/devel/pi/rev/2bec31b391ad
changeset: 13284:2bec31b391ad
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Tue Jul 26 18:07:06 2011 +0200
summary:   Fixes issue 18081: Refresh on child tab in form view doesn't work 
when switching record in parent tab.
A switch in record tab now moves back to grid view for the child

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
 |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (14 lines):

diff -r 4bfc61bf43ca -r 2bec31b391ad 
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 Jul 26 17:21:20 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
 Tue Jul 26 18:07:06 2011 +0200
@@ -753,7 +753,10 @@
         
     if (this.shouldOpenDefaultEditMode()) {
       this.openDefaultEditView();
+    } else if (this.isShowingForm && !(this.allowDefaultEditMode && 
this.defaultEditMode)) {
+      this.switchFormGridVisibility();
     }
+    
     this.viewGrid.refreshContents();
 
     this.toolBar.updateButtonState(true);    

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to