Author: vmolotkov
Date: 2008-01-29 10:43:44 -0500 (Tue, 29 Jan 2008)
New Revision: 5706
Modified:
trunk/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js
Log:
pickList component
Modified:
trunk/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js
===================================================================
---
trunk/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js 2008-01-29
15:17:26 UTC (rev 5705)
+++
trunk/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js 2008-01-29
15:43:44 UTC (rev 5706)
@@ -155,7 +155,9 @@
this.moveItem(sourceComponent, targetComponent, item);
}
this.controlListManager();
- this.targetList.controlListManager();
+ if (this.targetList.controlListManager) {
+ this.targetList.controlListManager();
+ }
//this.saveState();
this.targetLayoutManager.widthSynchronization();
@@ -222,7 +224,9 @@
this.moveItem(sourceComponent, targetComponent, item);
this.controlListManager();
- this.targetList.controlListManager();
+ if (this.targetList.controlListManager) {
+ this.targetList.controlListManager();
+ }
//this.saveState();
this.targetLayoutManager.widthSynchronization();
@@ -231,7 +235,7 @@
this.container.fire("rich:onlistchanged", {});
}
-}
+};
Richfaces.ListShuttle.HANDLERS = {
copy: function (e) { this.moveItems(this.sourceList, this.targetList,
this.sourceList.selectedItems); return false; },
Show replies by date