Roo/grid/RowSelectionModel.js
[roojs1] / 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();
         }