You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2006/11/23 17:44:06 UTC
[jira] Resolved: (TAPESTRY-1159) Rollover component and async
DirectLink - Dojo: Error evaluating script
[ http://issues.apache.org/jira/browse/TAPESTRY-1159?page=all ]
Jesse Kuhnert resolved TAPESTRY-1159.
-------------------------------------
Fix Version/s: 4.1.1
Resolution: Fixed
Added ";" , though it is odd this would blow up . eh..
> 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
>
>
> 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