details:   https://code.openbravo.com/erp/devel/pi/rev/7f41ff531586
changeset: 20751:7f41ff531586
user:      Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date:      Wed Jul 17 12:04:54 2013 +0530
summary:   Related to Issue 0024229 : code refactoring based on jslint tests

diffstat:

 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
 |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 7774d6f61619 -r 7f41ff531586 
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
--- 
a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
     Tue Jul 16 11:35:09 2013 +0530
+++ 
b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/ob-view-form.js
     Wed Jul 17 12:04:54 2013 +0530
@@ -1522,7 +1522,7 @@
         keepSelection = true;
 
         //refresh child views only if there are selected records.
-        if (view.viewGrid && view.viewGrid.getSelectedRecords.length != 0) {
+        if (view.viewGrid && view.viewGrid.getSelectedRecords.length !== 0) {
           view.refreshChildViews(keepSelection);
         }
 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to