related to issue 26645, related to issue 24574: clean up
authorAsier Lostalé <asier.lostale@openbravo.com>
Thu, 22 May 2014 16:57:06 +0200
changeset 23509 34fddf330780
parent 23508 c6129853e0cd
child 23510 f7b9da95c630
related to issue 26645, related to issue 24574: clean up
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js	Fri May 23 14:18:49 2014 +0200
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-list.js	Thu May 22 16:57:06 2014 +0200
@@ -80,8 +80,8 @@
     if (value && referenceType !== 'OBListItem') {
       for (i = 0; i < value.length; i++) {
         //do not append when composite identifiers are present.
-        if (value[i].indexOf(" - ") === -1) {
-          value[i] = "==" + value[i];
+        if (value[i].indexOf(' - ') === -1) {
+          value[i] = '==' + value[i];
         }
       }
     }