[ 
https://issues.apache.org/jira/browse/TOBAGO-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12527063
 ] 

Richard van Nieuwenhoven commented on TOBAGO-484:
-------------------------------------------------

no, i coudn't get it to work without this fix!. We have a own theme so i just 
wrote a own tobago.js to overwrite the javascript function 
Tobago.registerCurrentScripts with this fix.

thanks for fast reaction!





> Tobago.registerCurrentScripts in standard tobago.js misses a null check
> -----------------------------------------------------------------------
>
>                 Key: TOBAGO-484
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-484
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.0.11
>            Reporter: Richard van Nieuwenhoven
>            Assignee: Volker Weber
>             Fix For: 1.0.12
>
>
> in the javascript function Tobago.registerCurrentScripts in standard/standard 
> tobago.js the if is missing a null check
> --------------
>     if (child.nodeType == 1 && child.tagName.toUpperCase() == "SCRIPT" ){
> -------------
> should be 
> --------------
>     if (child.nodeType == 1 && child.tagName.toUpperCase() == "SCRIPT" && 
> child.src != null){
> -------------
> This very small bug prohibits using htmlunit as a testing framework because 
> it will stop processing javascript after this error, Firefox reports the 
> error but carries on.

-- 
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