Author: vmolotkov
Date: 2008-01-17 10:09:32 -0500 (Thu, 17 Jan 2008)
New Revision: 5451
Modified:
branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js
Log:
http://jira.jboss.com/jira/browse/RF-1932?page=all
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 2008-01-17
14:49:26 UTC (rev 5450)
+++
branches/3.1.x/ui/listShuttle/src/main/resources/org/richfaces/renderkit/html/scripts/ListShuttle.js 2008-01-17
15:09:32 UTC (rev 5451)
@@ -219,6 +219,9 @@
moveItemByClick : function(event, sourceComponent, targetComponent, layoutManager) {
var item = this.sourceList.getEventTargetRow(event);
+ if (!item) {
+ return;
+ }
this.moveItem(sourceComponent, targetComponent, item);
this.controlListManager();