You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Alberto José Rodríguez Rodríguez (JIRA)" <ji...@apache.org> on 2008/02/22 09:15:48 UTC

[jira] Commented: (WW-2501) No JavaScript en sx:div

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

Alberto José Rodríguez Rodríguez commented on WW-2501:
------------------------------------------------------

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.