Author: Alex.Kolonitsky
Date: 2009-06-18 06:57:14 -0400 (Thu, 18 Jun 2009)
New Revision: 14656
Modified:
branches/community/3.3.X/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableSelection.js
Log:
extendedDataTable: selectionMode="single" doesn't work.
https://jira.jboss.org/jira/browse/RF-5310
Modified:
branches/community/3.3.X/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableSelection.js
===================================================================
---
branches/community/3.3.X/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableSelection.js 2009-06-18
10:24:25 UTC (rev 14655)
+++
branches/community/3.3.X/ui/extendedDataTable/src/main/javascript/ClientUI/controls/datatable/ExtendedDataTableSelection.js 2009-06-18
10:57:14 UTC (rev 14656)
@@ -492,7 +492,8 @@
}
break;
case 65: case 97: // Ctrl-A
- if (this.inFocus && event.ctrlKey && !event.altKey) {
+ if (this.inFocus && event.ctrlKey && !event.altKey
+ && this.options.selectionMode == "multi") {
this.selectionFlag = "a";
for (var i = 0; i < this.rowCount; i++) {
this.addRowToSelection(i);