Author: konstantin.mishin
Date: 2007-07-31 08:22:59 -0400 (Tue, 31 Jul 2007)
New Revision: 1947
Modified:
trunk/sandbox/ui/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Selection.js
Log:
RF-514
Modified:
trunk/sandbox/ui/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Selection.js
===================================================================
---
trunk/sandbox/ui/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Selection.js 2007-07-31
10:48:49 UTC (rev 1946)
+++
trunk/sandbox/ui/scrollable-grid/src/main/javascript/ClientUI/controls/grid/Selection.js 2007-07-31
12:22:59 UTC (rev 1947)
@@ -427,10 +427,12 @@
this.setSelection(range);
}
this.setActiveRow(rowIndex);
- if (window.getSelection) {
- window.getSelection().removeAllRanges();
- } else if (document.selection) {
- document.selection.empty();
+ if (event.shiftKey) {
+ if (window.getSelection) {
+ window.getSelection().removeAllRanges();
+ } else if (document.selection) {
+ document.selection.empty();
+ }
}
this.selectionChanged(event);
},
Show replies by date