Author: alexsmirnov
Date: 2008-01-21 14:49:12 -0500 (Mon, 21 Jan 2008)
New Revision: 5513
Modified:
branches/3.1.x/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
Log:
fix
http://jira.jboss.com/jira/browse/RF-1962
Modified: branches/3.1.x/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js
===================================================================
--- branches/3.1.x/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-01-21
19:46:40 UTC (rev 5512)
+++ branches/3.1.x/framework/impl/src/main/javascript/ajaxjsf/JSFAJAX.js 2008-01-21
19:49:12 UTC (rev 5513)
@@ -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 :