[ 
https://issues.apache.org/struts/browse/WW-2501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43334#action_43334
 ] 

aj2r edited comment on WW-2501 at 2/22/08 12:18 AM:
--------------------------------------------------------------------------------

struts_dojo.js.uncompressed.js
....
17893 // exec in global, lose the _container_ feature
17894 var djg = dojo.global();
17895 if(djg.execScript){
17896 djg.execScript(code);
17897 }else{
17898 var djd = dojo.doc();
17899 var sc = djd.createElement("script");
17900 sc.appendChild(djd.createTextNode(code));
17901 (this.containerNode||this.domNode).appendChild(sc);
17902 }
...

At line 17901 in struts_dojo.js.uncompressed.js and at line 11213 in 
struts_dojo.js I found a mistake. It appends child sc, but sc is undeclared, sc 
will be replaced for code

      was (Author: aj2r):
    struts_dojo.js.uncompressed.js
....
17893 // exec in global, lose the _container_ feature
17894 var djg = dojo.global();
17895 if(djg.execScript){
17896 djg.execScript(code);
17897 }else{
17898 var djd = dojo.doc();
17899 var sc = djd.createElement("script");
17900 sc.appendChild(djd.createTextNode(code));
17901 (this.containerNode||this.domNode).appendChild(sc);
17902 }
...

At line 17901 I found a mistake. It appends child sc, but sc is undeclared, sc 
will be replaced for code
  
> No JavaScript en sx:div
> -----------------------
>
>                 Key: WW-2501
>                 URL: https://issues.apache.org/struts/browse/WW-2501
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Dojo Tags
>    Affects Versions: 2.1.0
>            Reporter: Alberto José Rodríguez Rodríguez
>            Priority: Critical
>
> Time ago I noticed that javascript were removed in the pages linked by 
> <sx:div ..>.
> Parameters executeScripts and separateScripts don't solve the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to