Author: vmolotkov
Date: 2007-11-16 15:25:49 -0500 (Fri, 16 Nov 2007)
New Revision: 4056
Modified:
trunk/sandbox/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js
Log:
cosmetic changes
Modified:
trunk/sandbox/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js
===================================================================
---
trunk/sandbox/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js 2007-11-16
20:23:28 UTC (rev 4055)
+++
trunk/sandbox/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/OrderingList.js 2007-11-16
20:25:49 UTC (rev 4056)
@@ -569,6 +569,13 @@
Shuttle.prototype.focusListener = function(e) {
e = e || window.event;
this.focusKeeper.focusused = false;
+ if (this.activeItem != null) {
+ if (this.getSelectItemByNode(this.activeItem)._selected) {
+ Richfaces.SelectItems.doSelect(this.activeItem);
+ } else {
+ Richfaces.SelectItems.doNormal(this.activeItem);
+ }
+ }
this.shuttleTable.className = Shuttle.ORDERING_LIST_CLASSES.normal;
}
Show replies by date