Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

image_tag mouseout broken with Asset Server

#353

Using an image tag such as:

<%= image_tag("nav-home.gif", :size => "100x30", :mouseover => "nav-home-over.gif") %>

when

config.action_controller.asset_host = "http://localhost/media"

is defined (for example), it breaks the onmousedown link.

In this instance, the rendered onmouseout looks like:

onmouseout="this.src='/images/http:%2F%2Flocalhost%2Fmedia%2Fimages%2Fnav-random.gif%3F1211937624'"

onmouseover="this.src='/images/nav-random-over.gif'"

You can see the onmouseout.

Reported by suckerpunch · June 6th, 2008 @ 02:43 AM

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Tarmo Tänav
    Tarmo Tänav
    • State changed from new to invalid
    • Tag cleared.

    I can't reproduce this on 2.1 or edge. I'm attaching a testcase which works for me, if possible please try to modify it to demonstrate the failure.

    August 23rd, 2008 @ 06:42 PM