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

index 8c1fa8c..87a678f 100644 (file)
@@ -229,7 +229,9 @@ Roo.extend(Roo.grid.RowSelectionModel, Roo.grid.AbstractSelectionModel,  {
      * Clears all selections.
      */
     clearSelections : function(fast){
-        if(this.locked) return;
+        if(this.locked) {
+            return;
+        }
         if(fast !== true){
             var ds = this.grid.dataSource;
             var s = this.selections;