Author: Alex.Kolonitsky
Date: 2009-08-03 07:58:25 -0400 (Mon, 03 Aug 2009)
New Revision: 15095
Modified:
branches/community/3.3.X/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js
Log:
rich:pickList - CTRL-key selection doesn't work on MacOS
https://jira.jboss.org/jira/browse/RF-7617
Modified:
branches/community/3.3.X/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js
===================================================================
---
branches/community/3.3.X/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js 2009-08-03
11:17:09 UTC (rev 15094)
+++
branches/community/3.3.X/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js 2009-08-03
11:58:25 UTC (rev 15095)
@@ -182,7 +182,7 @@
var activeElem = this.getEventTargetRow(event);
if (activeElem != null) {
- if (event.ctrlKey || e.metaKey) {
+ if (event.ctrlKey || event.metaKey) {
this.addSelectedItem(activeElem);
this.setActiveItem(activeElem);
} else if (event.shiftKey) {
@@ -217,7 +217,7 @@
Event.stop(event);
break;
case 65 : // Ctrl + A
- if (event.ctrlKey || e.metaKey) {
+ if (event.ctrlKey || event.metaKey) {
this.selectAll();
}
this.activeItem.item.doActive(this.getExtRowClass(this.activeItem.rowIndex),
this.columnClasses);