You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2010/02/25 11:44:17 UTC

svn commit: r916236 - /myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf_impl.js

Author: bommel
Date: Thu Feb 25 10:44:16 2010
New Revision: 916236

URL: http://svn.apache.org/viewvc?rev=916236&view=rev
Log:
 (MYFACES-2577) Multiple client behaviors confuse the jsf.util.chain function

Modified:
    myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf_impl.js

Modified: myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf_impl.js
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf_impl.js?rev=916236&r1=916235&r2=916236&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf_impl.js (original)
+++ myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/jsf_impl.js Thu Feb 25 10:44:16 2010
@@ -363,7 +363,7 @@
 
         /*now we serve the queue as well*/
         this._eventListenerQueue.broadcastEvent(eventData);
-    }
+    };
 
     /**
      * processes the ajax response if the ajax request completes successfully
@@ -498,10 +498,14 @@
             }
             //now if one function returns false in between we stop the execution of the cycle
             //here
-            if ('undefined' != typeof retVal && retVal === false) return;
+            if ('undefined' != typeof retVal && retVal === false) {
+                return false;
+            }
+
         }
+        return true;
 
-    }
+    };
 
     // singleton
     myfaces.ajax = new myfaces._impl.core._jsfImpl();