Author: vmolotkov
Date: 2007-12-13 15:11:29 -0500 (Thu, 13 Dec 2007)
New Revision: 4829
Modified:
branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js
Log:
bug:RF-1612
Modified:
branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js
===================================================================
---
branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js 2007-12-13
19:15:11 UTC (rev 4828)
+++
branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js 2007-12-13
20:11:29 UTC (rev 4829)
@@ -65,6 +65,11 @@
targetList.onclickHandler = function(e) { this.onclickHandler(e, targetList);
}.bindAsEventListener(this);
}
+ sourceList._onkeydownHandler = sourceList.onkeydownHandler;
+ sourceList.onkeydownHandler = function(e) { this.onkeydownHandler(e, sourceList);
}.bindAsEventListener(this);
+ targetList._onkeydownHandler = targetList.onkeydownHandler;
+ targetList.onkeydownHandler = function(e) { this.onkeydownHandler(e, targetList);
}.bindAsEventListener(this);
+
this.controlList = new Array();
this.initControlList(clientId, controlIds);
@@ -107,6 +112,12 @@
Event.stop(event);
},
+ onkeydownHandler : function(event, component) {
+ component._onkeydownHandler(event);
+ this.controlListManager();
+ Event.stop(event);
+ },
+
controlsProcessing : function(disabledControls , action) {
for (var i = 0; i < this.controlList.length; i++) {
control = this.controlList[i];
Show replies by date