Related with issue 28454: Add comments to function
authorAugusto Mauch <augusto.mauch@openbravo.com>
Mon, 22 Dec 2014 12:06:48 +0100
changeset 24109 243df7e72860
parent 24108 58cc7ba8de1e
child 24110 578fa0f1f471
Related with issue 28454: Add comments to function
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view-datasource.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view-datasource.js	Fri Dec 19 09:45:01 2014 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view-datasource.js	Mon Dec 22 12:06:48 2014 +0100
@@ -157,6 +157,8 @@
     }
   },
 
+  // delete null values of columns that do not have a field
+  // this prevents setting to null the value of a column just because it was not returned by the datasource due to not having an active field
   deleteNulls: function (data) {
     var column;
     for (column in data) {