Author: konstantin.mishin
Date: 2010-02-22 12:18:55 -0500 (Mon, 22 Feb 2010)
New Revision: 16484
Modified:
branches/enterprise/3.3.1.SP1_RFPL-394/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Selection.js
Log:
RFPL-394
Modified:
branches/enterprise/3.3.1.SP1_RFPL-394/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Selection.js
===================================================================
---
branches/enterprise/3.3.1.SP1_RFPL-394/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Selection.js 2010-02-22
13:17:31 UTC (rev 16483)
+++
branches/enterprise/3.3.1.SP1_RFPL-394/ui/scrollableDataTable/src/main/javascript/ClientUI/controls/grid/Selection.js 2010-02-22
17:18:55 UTC (rev 16484)
@@ -331,7 +331,7 @@
processKeyDown: function(event) {
if ($(this.prefix + ":n").rows.length > 0) {
- if(!event.shiftKey) {
+ if(!event.shiftKey && (event.keyCode || event.charCode) != 16) {
this.shiftRow = null;
}
var range, rowIndex;
@@ -435,7 +435,7 @@
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)) {
+ || (this.startRow > rowIndex && this.firstIndex <= this.startRow
&& rowIndex < this.firstIndex)) {
this.endRow = rowIndex;
} else {
this.endRow = this.startRow;
Show replies by date