projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d58b197
)
Roo/grid/RowSelectionModel.js
author
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 09:55:29 +0000
(17:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 09:55:29 +0000
(17:55 +0800)
Roo/grid/RowSelectionModel.js
patch
|
blob
|
history
diff --git
a/Roo/grid/RowSelectionModel.js
b/Roo/grid/RowSelectionModel.js
index
87a678f
..
d316825
100644
(file)
--- a/
Roo/grid/RowSelectionModel.js
+++ b/
Roo/grid/RowSelectionModel.js
@@
-250,7
+250,9
@@
Roo.extend(Roo.grid.RowSelectionModel, Roo.grid.AbstractSelectionModel, {
* Selects all rows.
*/
selectAll : function(){
- if(this.locked) return;
+ if(this.locked) {
+ return;
+ }
this.selections.clear();
for(var i = 0, len = this.grid.dataSource.getCount(); i < len; i++){
this.selectRow(i, true);