Related to Issue 26700 : use '' instead of ""
authorShankar Balachandran <shankar.balachandran@openbravo.com>
Wed, 04 Jun 2014 14:16:27 +0530
changeset 23516 14120452111d
parent 23515 8b9ce598edbf
child 23517 556ae52c73a2
Related to Issue 26700 : use '' instead of ""
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js	Mon Jun 02 09:31:33 2014 +0530
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js	Wed Jun 04 14:16:27 2014 +0530
@@ -164,7 +164,7 @@
     }
     if (value && isc.isA.Array(value) && value.length > 0 && rows) {
       for (i = 0; i < value.length; i++) {
-        if (value[i].indexOf("==") === 0) {
+        if (value[i].indexOf('==') === 0) {
           value[i] = value[i].substring(2, value[i].length);
           if (rows.find('name', value[i]) === undefined) {
             performFetch = true;