Related to issue 29867: grid checkboxes are now selected on refresh
authorDavid Baz Fayos <david.baz@openbravo.com>
Fri, 29 May 2015 11:17:43 +0200
changeset 26798 535b08878cf7
parent 26797 2971dc0bd036
child 26799 15dbf5983411
child 26802 bd6740e1bbd3
Related to issue 29867: grid checkboxes are now selected on refresh
when multiple records were selected
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js	Thu May 28 21:17:31 2015 +0000
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js	Fri May 29 11:17:43 2015 +0200
@@ -1861,6 +1861,7 @@
             recordIndexes.push(me.getRecordIndex(gridRecord));
           }
         }
+        me.singleRecordSelection = false;
         me.selectRecords(recordIndexes);
         if (me.selectedRecordsBeforeRefresh.length !== recordIndexes.length) {
           if (me.view.messageBar.isVisible()) {