Author: vmolotkov
Date: 2007-11-30 10:10:24 -0500 (Fri, 30 Nov 2007)
New Revision: 4393
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js
Log:
reset of the active item
Modified:
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js
===================================================================
---
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js 2007-11-30
14:53:56 UTC (rev 4392)
+++
branches/3.1.x/ui/orderingList/src/main/resources/org/richfaces/renderkit/html/scripts/ListBase.js 2007-11-30
15:10:24 UTC (rev 4393)
@@ -356,6 +356,13 @@
e = e || window.event;
this.focusKeeper.focused = false;
this.shuttleTable.className = Richfaces.ListBase.ORDERING_LIST_CLASSES.normal;
+
+ if (Richfaces.SelectItems.isSelected(this.activeItem)) {
+ Richfaces.SelectItems.doSelect(this.activeItem);
+ } else {
+ Richfaces.SelectItems.doNormal(this.activeItem);
+ }
+ this.activeItem = null;
},
compareByLabel : function(obj1, obj2) {
Show replies by date