details:   /erp/devel/pi/rev/5316647f8492
changeset: 10583:5316647f8492
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Fri Feb 11 17:27:22 2011 +0100
summary:   Solved issue with data properties being transferred from one grid to 
the other

details:   /erp/devel/pi/rev/2ba9083bdb8d
changeset: 10584:2ba9083bdb8d
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Fri Feb 11 17:27:31 2011 +0100
summary:   Changed Loading to LOADING

diffstat:

 
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
               |  2 +-
 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
 |  5 +++++
 2 files changed, 6 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r e183281c45d4 -r 2ba9083bdb8d 
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
--- 
a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
        Fri Feb 11 17:23:33 2011 +0100
+++ 
b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
        Fri Feb 11 17:27:31 2011 +0100
@@ -1119,7 +1119,7 @@
 <!--FF8081812E0F2FB1012E0F3248D5000B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--FF8081812E0F2FB1012E0F3248D5000B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8081812E0F2FB1012E0F3248D5000B-->  
<VALUE><![CDATA[OBUIAPP_LOADING]]></VALUE>
-<!--FF8081812E0F2FB1012E0F3248D5000B-->  
<MSGTEXT><![CDATA[Loading...]]></MSGTEXT>
+<!--FF8081812E0F2FB1012E0F3248D5000B-->  
<MSGTEXT><![CDATA[LOADING...]]></MSGTEXT>
 <!--FF8081812E0F2FB1012E0F3248D5000B-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
 <!--FF8081812E0F2FB1012E0F3248D5000B-->  
<AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--FF8081812E0F2FB1012E0F3248D5000B--></AD_MESSAGE>
diff -r e183281c45d4 -r 2ba9083bdb8d 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
  Fri Feb 11 17:23:33 2011 +0100
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-view-grid.js
  Fri Feb 11 17:27:31 2011 +0100
@@ -172,6 +172,11 @@
   },
   
   initWidget: function(){
+    // make a copy of the dataProperties otherwise we get 
+    // change results that values of one grid are copied/coming back
+    // in other grids
+    this.dataProperties = isc.addProperties({}, this.dataProperties);
+    
     var thisGrid = this, localEditLinkField;
     if (this.editGrid) {
       // add the edit pencil in the beginning

------------------------------------------------------------------------------
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

Reply via email to