Roo/grid/RowSelectionModel.js
authorAlan Knowles <alan@roojs.com>
Wed, 20 Apr 2016 09:55:44 +0000 (17:55 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 Apr 2016 09:55:44 +0000 (17:55 +0800)
Roo/grid/RowSelectionModel.js

index d316825..f41d3f6 100644 (file)
@@ -341,7 +341,9 @@ Roo.extend(Roo.grid.RowSelectionModel, Roo.grid.AbstractSelectionModel,  {
      * @param {Boolean} keepExisting (optional) True to retain existing selections
      */
     selectRange : function(startRow, endRow, keepExisting){
-        if(this.locked) return;
+        if(this.locked) {
+            return;
+        }
         if(!keepExisting){
             this.clearSelections();
         }