details:   https://code.openbravo.com/erp/devel/pi/rev/759c92f6e8a2
changeset: 28549:759c92f6e8a2
user:      Asier Lostalé <asier.lostale <at> openbravo.com>
date:      Fri Jan 29 09:17:02 2016 +0100
summary:   related to bug 32007: use single qoutes to enclose js strings

diffstat:

 
modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r a0b036f79c11 -r 759c92f6e8a2 
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
      Thu Jan 28 18:48:27 2016 +0100
+++ 
b/modules/org.openbravo.userinterface.selector/web/org.openbravo.userinterface.selector/js/ob-selector-item.js
      Fri Jan 29 09:17:02 2016 +0100
@@ -626,7 +626,7 @@
     // only do the identifier actions when clearing
     // in all other cases pickValue is called
     if (!newValue) {
-      if (this.getElementValue() === "" && this.pickList && 
this.pickList.getSelectedRecord() && this.pickList.getSelectedRecord().id) {
+      if (this.getElementValue() === '' && this.pickList && 
this.pickList.getSelectedRecord() && this.pickList.getSelectedRecord().id) {
         // handle special case: after selecting a value, a redraw is fired in 
the form.
         // due to asynchrony problems, the redraw flow was able to access to 
_value before setting it with the current value.
         // if we are in this case, then we do not need to continue setting the 
value because 'null' is not the value to be assigned.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to