tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Kuhnert (JIRA)" <tapestry-...@jakarta.apache.org>
Subject [jira] Resolved: (TAPESTRY-1159) Rollover component and async DirectLink - Dojo: Error evaluating script
Date Sat, 02 Dec 2006 19:40:22 GMT
     [ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=all ]

Jesse Kuhnert resolved TAPESTRY-1159.
-------------------------------------

    Resolution: Fixed

Finally! Sorry for making you suffer for so long. Things should work now. (or , in an hour
or so after I deploy the changes.)

> Rollover component and async DirectLink - Dojo: Error evaluating script
> -----------------------------------------------------------------------
>
>                 Key: TAPESTRY-1159
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1159
>             Project: Tapestry
>          Issue Type: Bug
>          Components: JavaScript
>    Affects Versions: 4.1.1
>         Environment: FF 1.5.0.8
>            Reporter: Grzegorz Mrowka
>         Assigned To: Jesse Kuhnert
>             Fix For: 4.1.1
>
>         Attachments: palette_deselect.gif, palette_deselect_dis.gif, Test.html, Test.java
>
>
> Refreshing nested DOM element after asynchronous request (async DirectLink was used)
containing Rollover element throws
> ERROR: Error evaluating script: 
> //<![CDATA[ 
>  var tapestry._preload = new Array(); 
>  if (document.images) { 
> 	tapestry._preload[0] = new Image(); 
> 	tapestry._preload[0].src = "/MultiPegaz/images/del.gif"; 
> 	tapestry._preload[1] = new Image(); 
> 	tapestry._preload[1].src = "/MultiPegaz/images/del_off.gif"; 
>  } 
>  tapestry.mouseOver_$Rollover=function() { 
> 	if (document.images) document.getElementById('$Rollover').src = tapestry._preload[0].src;

>  } 
>  tapestry.mouseOut_$Rollover=function() { 
> 	if (document.images) document.getElementById('$Rollover').src = tapestry._preload[1].src;

>  } 
> //]]> 
> [SyntaxError: missing ; before statement]
> There is no ; after each anonymous function definition

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message