Roo/bootstrap/Table/RowSelectionModel.js
authorAlan Knowles <alan@roojs.com>
Wed, 20 Apr 2016 10:03:48 +0000 (18:03 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 20 Apr 2016 10:03:48 +0000 (18:03 +0800)
Roo/bootstrap/Table/RowSelectionModel.js

index 1c044ad..b1e3e42 100644 (file)
@@ -332,7 +332,9 @@ Roo.extend(Roo.bootstrap.Table.RowSelectionModel, Roo.bootstrap.Table.AbstractSe
      * @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();
         }