Author: nbelaevski
Date: 2008-12-04 15:41:46 -0500 (Thu, 04 Dec 2008)
New Revision: 11569
Modified:
trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java
Log:
DnD Events refactoring
Modified: trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java 2008-12-04
19:02:04 UTC (rev 11568)
+++ trunk/ui/tree/src/main/java/org/richfaces/component/events/TreeEvents.java 2008-12-04
20:41:46 UTC (rev 11569)
@@ -65,13 +65,9 @@
} else if (event instanceof NodeSelectedEvent) {
binding = eventsProducer.getNodeSelectListener();
} else if (event instanceof DropEvent) {
- if (((DropEvent) event).isValid()) {
- binding = eventsProducer.getDropListener();
- }
+ binding = eventsProducer.getDropListener();
} else if (event instanceof DragEvent) {
- if (((DragEvent) event).isValid()) {
- binding = eventsProducer.getDragListener();
- }
+ binding = eventsProducer.getDragListener();
}
if (binding != null) {
Show replies by date