You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2009/05/15 11:19:45 UTC

svn commit: r775062 - /myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js

Author: werpu
Date: Fri May 15 09:19:43 2009
New Revision: 775062

URL: http://svn.apache.org/viewvc?rev=775062&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-2114 fixed an error in the 
new response functionality

Modified:
    myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js

Modified: myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js?rev=775062&r1=775061&r2=775062&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js (original)
+++ myfaces/core/branches/2_0_0/api/src/main/javascript/META-INF/resources/myfaces/_impl/xhrCore/_AjaxResponse.js Fri May 15 09:19:43 2009
@@ -232,7 +232,7 @@
                 
                     document.documentElement.innerHTML  =  parser.parse(cDataBlock);
                         // innerHTML doesn't execute scripts, so no browser switch here
-                    myfaces._impl._util._Utils.runScripts(request, context, body);
+                    myfaces._impl._util._Utils.runScripts(request, context, cDataBlock);
                    
                     break;
                 case "javax.faces.ViewHead":