details:   /erp/devel/pi/rev/39c8f7954afa
changeset: 12493:39c8f7954afa
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Thu May 26 14:24:50 2011 +0200
summary:   Fixes issue 16947: OPTIMIZE-15: Splitter bar does not work in all 
states

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-tab.js
 |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r ab02e94cd6ee -r 39c8f7954afa 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-tab.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-tab.js
   Thu May 26 14:04:15 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-tab.js
   Thu May 26 14:24:50 2011 +0200
@@ -364,7 +364,13 @@
       }
     } else if (this.state === isc.OBStandardView.STATE_BOTTOM_MAX) {
       this.setState(isc.OBStandardView.STATE_MID);
-    } else if (this.state === isc.OBStandardView.STATE_TOP_MAX || this.state 
=== isc.OBStandardView.STATE_MID) {
+    } else if (this.state === isc.OBStandardView.STATE_MID) {
+      if (this.parentTabSet) {
+        this.parentTabSet.setState(isc.OBStandardView.STATE_MID);
+      } else {
+        this.parentContainer.setHalfSplit();
+      }
+    } else if (this.state === isc.OBStandardView.STATE_TOP_MAX) {
       this.doHandleDoubleClick();
     }
   },

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to