details: /erp/devel/pi/rev/032553d79173
changeset: 9404:032553d79173
user: Martin Taal <martin.taal <at> openbravo.com>
date: Mon Dec 27 11:43:08 2010 +0100
summary: Solved issue with tab opening/closing when single clicking minimized
grand child tab header
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
| 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 302e572cf4b7 -r 032553d79173
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
---
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
Mon Dec 27 11:19:43 2010 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
Mon Dec 27 11:43:08 2010 +0100
@@ -481,7 +481,7 @@
shouldOpenDefaultEditMode: function(){
// can open default edit mode if defaultEditMode is set
// and this is the root view or a child view with a selected parent.
- return this.defaultEditMode && (!this.parentProperty ||
this.parentView.viewGrid.getSelectedRecords().length === 1)
+ return this.defaultEditMode && (!this.parentProperty ||
this.parentView.viewGrid.getSelectedRecords().length === 1);
},
openDefaultEditView: function(record){
@@ -919,11 +919,11 @@
// makes a difference what the order of resizing is, first resize the
// one which will be larger, then the one which will be smaller.
// also do the STATE_IN_MID before resizing
- this.members[1].setState(isc.OBStandardView.STATE_IN_MID);
this.members[1].setHeight('50%');
this.members[0].setHeight('50%');
this.members[1].show();
this.members[0].show();
+ this.members[1].setState(isc.OBStandardView.STATE_IN_MID);
}
} else {
this.members[0].setHeight('100%');
@@ -937,7 +937,7 @@
// 2) showing form with aux inputs
var record;
if (this.viewGrid.isVisible()) {
- record = this.viewGrid.getSelectedRecord()
+ record = this.viewGrid.getSelectedRecord();
} else {
record = this.viewForm.getValues();
}
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits