Author: alexsmirnov
Date: 2008-01-21 14:46:40 -0500 (Mon, 21 Jan 2008)
New Revision: 5512
Modified:
trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
Log:
fix
http://jira.jboss.com/jira/browse/RF-1962
Modified: trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
===================================================================
--- trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-01-21 19:27:17 UTC
(rev 5511)
+++ trunk/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-01-21 19:46:40 UTC
(rev 5512)
@@ -814,7 +814,7 @@
req.appendNewHeadElements();
for ( var k =0; k < options.affected.length ; k++ ) {
LOG.debug("Update page part from call parameter for ID " +
options.affected[k]);
- req.updatePagePart(options.affected[k], k==childs.length-1);
+ req.updatePagePart(options.affected[k], k==options.affected.length-1);
};
// if resopnce contains element with ID "ajax:update" get id's from
// child text element . like :