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 2010/05/21 14:26:26 UTC

svn commit: r946984 - /myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js

Author: werpu
Date: Fri May 21 12:26:25 2010
New Revision: 946984

URL: http://svn.apache.org/viewvc?rev=946984&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-2729
ups small error a src attribute in an update node should not trigger the node based load script




Modified:
    myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js

Modified: myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js?rev=946984&r1=946983&r2=946984&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js (original)
+++ myfaces/core/trunk/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_Dom.js Fri May 21 12:26:25 2010
@@ -75,7 +75,7 @@ myfaces._impl.core._Runtime.singletonExt
                     // external script auto eval
                     //TODO fix the encoding here, we have to assume the src is the same encoding as the document
                     //or enforce auto
-                    myfaces._impl.core._Runtime.loadScript(item.getAttribute('src'), item.getAttribute('type'), false, "UTF-8");
+                    myfaces._impl.core._Runtime._loadScriptEval(item.getAttribute('src'), item.getAttribute('type'), false, "UTF-8");
                 } else {
                     // embedded script auto eval
                     var test = item.text;