projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0090af
)
Roo/grid/CellSelectionModel.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Dec 2011 07:55:16 +0000
(15:55 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Dec 2011 07:55:16 +0000
(15:55 +0800)
Roo/grid/CellSelectionModel.js
patch
|
blob
|
history
diff --git
a/Roo/grid/CellSelectionModel.js
b/Roo/grid/CellSelectionModel.js
index
0205a7e
..
23e744f
100644
(file)
--- a/
Roo/grid/CellSelectionModel.js
+++ b/
Roo/grid/CellSelectionModel.js
@@
-189,7
+189,7
@@
Roo.extend(Roo.grid.CellSelectionModel, Roo.grid.AbstractSelectionModel, {
return g.walkCells(row, col, step, sm.isSelectable, sm);
};
var k = e.getKey(), r = s.cell[0], c = s.cell[1];
- var newCell
, forward=false
;
+ var newCell;
@@
-203,13
+203,11
@@
Roo.extend(Roo.grid.CellSelectionModel, Roo.grid.AbstractSelectionModel, {
newCell = walk(r, c-1, -1);
} else {
newCell = walk(r, c+1, 1);
- forward = true;
}
break;
case e.DOWN:
newCell = walk(r+1, c, 1);
- forward = true;
break;
case e.UP:
@@
-218,7
+216,6
@@
Roo.extend(Roo.grid.CellSelectionModel, Roo.grid.AbstractSelectionModel, {
case e.RIGHT:
newCell = walk(r, c+1, 1);
- forward = true;
break;
case e.LEFT: