[richfaces-issues] [JBoss JIRA] Resolved: (RF-1962) Trivial bug in /org/ajax4jsf/javascript/scripts/AJAX.js
Alexander Smirnov (JIRA)
jira-events at lists.jboss.org
Mon Jan 21 14:50:21 EST 2008
[ http://jira.jboss.com/jira/browse/RF-1962?page=all ]
Alexander Smirnov resolved RF-1962.
-----------------------------------
Resolution: Done
This is a simple copy/paste error. fixet for all active branches.
> Trivial bug in /org/ajax4jsf/javascript/scripts/AJAX.js
> -------------------------------------------------------
>
> Key: RF-1962
> URL: http://jira.jboss.com/jira/browse/RF-1962
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.2.0, 3.1.4
> Reporter: Mike Hanafey
> Assigned To: Alexander Smirnov
> Fix For: 3.1.4, 3.2.0
>
>
> Patch is:
> % diff -u ./org/ajax4jsf/javascript/scripts/AJAX.js.orig ./org/ajax4jsf/javascript/scripts/AJAX.js
> --- ./org/ajax4jsf/javascript/scripts/AJAX.js.orig 2008-01-19 00:54:52.000000000 -0500
> +++ ./org/ajax4jsf/javascript/scripts/AJAX.js 2008-01-21 12:42:09.385540529 -0500
> @@ -1484,7 +1484,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 :
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list