Author: pyaschenko
Date: 2010-07-12 06:08:08 -0400 (Mon, 12 Jul 2010)
New Revision: 17951
Modified:
root/core/trunk/impl/src/main/resources/META-INF/resources/richfaces.js
Log:
Modified: root/core/trunk/impl/src/main/resources/META-INF/resources/richfaces.js
===================================================================
--- root/core/trunk/impl/src/main/resources/META-INF/resources/richfaces.js 2010-07-12
09:00:58 UTC (rev 17950)
+++ root/core/trunk/impl/src/main/resources/META-INF/resources/richfaces.js 2010-07-12
10:08:08 UTC (rev 17951)
@@ -578,7 +578,8 @@
var eventHandlers;
for (var eventName in AJAX_EVENTS) {
- var handler = createEventHandler(options[eventName]);
+ var handlerCode = options[eventName];
+ var handler = typeof handlerCode == "function" ? handlerCode :
createEventHandler(handlerCode);
var serverHandler = AJAX_EVENTS[eventName];
if (serverHandler) {