Author: vmolotkov
Date: 2008-04-09 07:43:39 -0400 (Wed, 09 Apr 2008)
New Revision: 7692
Modified:
trunk/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js
Log:
bug RF-2844
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-04-09
11:39:14 UTC (rev 7691)
+++
trunk/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js 2008-04-09
11:43:39 UTC (rev 7692)
@@ -164,6 +164,9 @@
},
moveItem : function(sourceComponent, targetComponent, item) {
+ if (!item) {
+ return;
+ }
if (!(item instanceof Richfaces.SelectItem)) {
item = sourceComponent.getSelectItemByNode(item);
}
Show replies by date