details: /erp/devel/pi/rev/c64b22623f73
changeset: 10806:c64b22623f73
user: Iván Perdomo <ivan.perdomo <at> openbravo.com>
date: Fri Feb 18 19:15:42 2011 +0100
summary: Fixes issue not refreshing data in child tabs
diffstat:
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
| 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (25 lines):
diff -r 91400238c0ff -r c64b22623f73
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
Fri Feb 18 19:01:04 2011 +0100
+++
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
Fri Feb 18 19:15:42 2011 +0100
@@ -576,7 +576,6 @@
},
doRefreshContents: function(doRefreshWhenVisible){
-
// update this one at least before bailing out
this.updateTabTitle();
@@ -1125,11 +1124,10 @@
isViewVisible: function(){
// this prevents data requests for minimized tabs
- return this.isVisible();
// note this.tab.isVisible is done as the tab is visible earlier than
// the pane
-// return (!this.tab || this.tab.isVisible()) && (!this.parentTabSet ||
this.parentTabSet.getSelectedTabNumber() ===
-// this.parentTabSet.getTabNumber(this.tab));
+ return (!this.tab || this.tab.isVisible()) && (!this.parentTabSet ||
this.parentTabSet.getSelectedTabNumber() ===
+ this.parentTabSet.getTabNumber(this.tab));
},
// ++++++++++++++++++++ Button Actions ++++++++++++++++++++++++++
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits