related to issue 25686: use the or logical operator
authorCarlos Aristu <carlos.aristu@openbravo.com>
Fri, 14 Feb 2014 14:05:22 +0100
changeset 22043 01b83465a520
parent 22042 57bfd0427b28
child 22044 bf69a0abb7dd
related to issue 25686: use the or logical operator
modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
--- a/modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js	Sat Feb 15 00:59:25 2014 +0000
+++ b/modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js	Fri Feb 14 14:05:22 2014 +0100
@@ -666,6 +666,7 @@
     }
 
     fields = form.fields || grid.fields;
+    form.hiddenInputs = form.hiddenInputs || {};
     for (i in outFields) {
       if (outFields.hasOwnProperty(i)) {
         if (outFields[i].suffix) {
@@ -997,6 +998,7 @@
         form = this.form,
         grid = this.grid,
         item, value, fields = form.fields || grid.fields;
+    form.hiddenInputs = form.hiddenInputs || {};
     for (i in outFields) {
       if (outFields.hasOwnProperty(i)) {
         if (outFields[i].suffix) {