details: https://code.openbravo.com/erp/devel/pi/rev/4adfa3a31483
changeset: 24082:4adfa3a31483
user: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date: Mon Jul 21 10:18:17 2014 +0530
summary: Fixes Issue 27008: "Recent Documents" is not working under some
circumstances
The full view is prepared if the record is navigated directly as the target tab
may be part of any parent tab.
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
| 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (17 lines):
diff -r 7a248f55faf5 -r 4adfa3a31483
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
Mon Jul 21 01:53:37 2014 +0200
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
Mon Jul 21 10:18:17 2014 +0530
@@ -755,9 +755,10 @@
this.standardWindow.addView(childView);
- if (this.childTabSet.tabs.length > 0) {
- // If it is a child tab that is not in the first position, load a basic
child view
- // to ensure a lazy inizialitazion of the contents.
+ if (this.childTabSet.tabs.length > 0 && !this.standardWindow.targetTabId) {
+ // If it is a child tab that is not in the first position and if it is
not a
+ // direct navigation to the record (issue 27008), load a basic child view
+ // to ensure a lazy initialization of the contents.
// Once the tab be selected, the proper content will be loaded.
this.prepareBasicChildView(childView);
} else {
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits