details:   https://code.openbravo.com/erp/devel/pi/rev/54746e125093
changeset: 13815:54746e125093
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Thu Sep 22 14:42:32 2011 +0200
summary:   Fixes issue 18548: MyOB shows loading bar when refreshing the whole 
page
The loadinTabId property was lost for myob, copying the params to prevent that

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-view-manager.js
 |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (16 lines):

diff -r bfe95c837270 -r 54746e125093 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-view-manager.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-view-manager.js
     Thu Sep 22 10:38:15 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-view-manager.js
     Thu Sep 22 14:42:32 2011 +0200
@@ -297,6 +297,12 @@
               // in another thread
               params = vmgr.createLoadingTab(viewName, params, viewTabId);
             }
+            
+            // make a clone to prevent params being updated in multiple threads
+            // happens for the myob tab in special cases
+            // https://issues.openbravo.com/view.php?id=18548
+            params = isc.shallowClone(params);
+            
             // use a canvas to make use of the fireOnPause possibilities
             // but don't forget to destroy it afterwards...
             var cnv = isc.Canvas.create({

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to