[gatein-issues] [JBoss JIRA] (GTNPORTAL-2908) Javascript bug on IE if there are portlet extra markup headers

Vu Viet Phuong (JIRA) jira-events at lists.jboss.org
Mon Apr 22 03:27:53 EDT 2013


     [ https://issues.jboss.org/browse/GTNPORTAL-2908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vu Viet Phuong updated GTNPORTAL-2908:
--------------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/gatein/gatein-portal/pull/415

    
> Javascript bug on IE if there are portlet extra markup headers
> --------------------------------------------------------------
>
>                 Key: GTNPORTAL-2908
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-2908
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: WebUI
>    Affects Versions: 3.6.0.Beta01
>            Reporter: Vu Viet Phuong
>            Assignee: Vu Viet Phuong
>
> there is one problem with JS code of PortalHttpRequest.js 
> {code}
> for () {
>   var script = ...
>   script.onreadystatechange = function () {
>     if (/loaded|complete/.test(script.readyState)) {								     
>       script.onreadystatechange = null;
>       appendScript.apply(that);
>     }
>   };
> }
> {code}
> "script" variable should not be used in the callback function, it's always be the last element of the loop.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the gatein-issues mailing list