[richfaces-issues] [JBoss JIRA] Created: (RF-1962) Trivial bug in /org/ajax4jsf/javascript/scripts/AJAX.js

Mike Hanafey (JIRA) jira-events at lists.jboss.org
Mon Jan 21 13:03:21 EST 2008


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.1.4
            Reporter: Mike Hanafey


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