Author: konstantin.mishin
Date: 2007-06-11 12:35:39 -0400 (Mon, 11 Jun 2007)
New Revision: 1123
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Selection.js
Log:
small fix
Modified:
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Selection.js
===================================================================
---
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Selection.js 2007-06-11
15:43:54 UTC (rev 1122)
+++
trunk/sandbox/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Selection.js 2007-06-11
16:35:39 UTC (rev 1123)
@@ -365,8 +365,8 @@
this.shiftRow = this.activeRow;
}
this.startRow = this.shiftRow;
- if (((this.startRow <= rowIndex) && (this.firstIndex < this.startRow ||
rowIndex < this.firstIndex))
- || (this.startRow > rowIndex && this.firstIndex >= this.startRow
&& rowIndex >= this.firstIndex)) {
+ if (((this.startRow <= rowIndex) && (this.firstIndex <= this.startRow ||
rowIndex < this.firstIndex))
+ || (this.startRow > rowIndex && this.firstIndex > this.startRow
&& rowIndex >= this.firstIndex)) {
this.endRow = rowIndex;
} else {
this.endRow = this.startRow;
Show replies by date