click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r958212 - /click/trunk/click/framework/src/org/apache/click/ActionEventDispatcher.java
Date Sat, 26 Jun 2010 12:00:53 GMT
Author: sabob
Date: Sat Jun 26 12:00:53 2010
New Revision: 958212

URL: http://svn.apache.org/viewvc?rev=958212&view=rev
Log:
fixed event dispatcher clear() method to clear behaviors as well.

Modified:
    click/trunk/click/framework/src/org/apache/click/ActionEventDispatcher.java

Modified: click/trunk/click/framework/src/org/apache/click/ActionEventDispatcher.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/ActionEventDispatcher.java?rev=958212&r1=958211&r2=958212&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/ActionEventDispatcher.java (original)
+++ click/trunk/click/framework/src/org/apache/click/ActionEventDispatcher.java Sat Jun 26
12:00:53 2010
@@ -415,6 +415,9 @@ public class ActionEventDispatcher {
         if (hasActionEvents()) {
             getEventSourceList().clear();
             getEventListenerList().clear();
+        }
+
+        if (hasBehaviorSourceSet()) {
             getBehaviorSourceSet().clear();
         }
     }



Mime
View raw message