[richfaces-svn-commits] JBoss Rich Faces SVN: r2407 - trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/common/utils.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Aug 22 13:20:24 EDT 2007


Author: dmorozov
Date: 2007-08-22 13:20:24 -0400 (Wed, 22 Aug 2007)
New Revision: 2407

Modified:
   trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/common/utils/CustomEvent.js
Log:
Add unbreakableEach for custom event fire method.
If by some reason it throw exception it can loose processing of the rest event handlers.

Modified: trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/common/utils/CustomEvent.js
===================================================================
--- trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/common/utils/CustomEvent.js	2007-08-22 16:15:25 UTC (rev 2406)
+++ trunk/ui/scrollableDataTable/src/main/javascript/ClientUI/common/utils/CustomEvent.js	2007-08-22 17:20:24 UTC (rev 2407)
@@ -47,7 +47,7 @@
 			});
 
 		var args = $A(arguments);
-		subscribersToNotify.each(function(subscriber) {
+		subscribersToNotify.unbreakableEach(function(subscriber) {
 			subscriber.callback.apply(subscriber.callback, args);
 		});
 	}




More information about the richfaces-svn-commits mailing list