details:   https://code.openbravo.com/erp/devel/pi/rev/fd6ed8167008
changeset: 13808:fd6ed8167008
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Tue Sep 20 14:30:36 2011 +0200
summary:   Solve issue with .section not being set on sectionized items

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
 |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r b7f1fe3da01b -r fd6ed8167008 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
     Tue Sep 20 13:37:24 2011 +0200
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
     Tue Sep 20 14:30:36 2011 +0200
@@ -452,7 +452,7 @@
   },
   
   setFields: function(){
-    var i, item, length = this.getItems().length;
+    var i, item, length;
     
     // is used in various places, prevent focus and scroll events
     this._preventFocusChanges = true;
@@ -461,6 +461,7 @@
     this.fieldsByInpColumnName = null;
     this.fieldsByColumnName = null;
 
+    length = this.getItems().length;
     for (i = 0; i < length; i++) {
       item = this.getItem(i);
       if(item && item.setSectionItemInContent) {

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