remove spacer.png hard coded path in flir.js
omerida - March 12, 2009 - 16:06
| Project: | Facelift Image Replacement Integration |
| Version: | 6.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
flir.js assumes the module is installed in sites/all/modules, if you install it elsewher you get broken images in IE6 for requests to spacer.png. the path to spacer.png should be an option that is auto-discovered.

#1
is this still the case in 1.3-beta?
#2
I'm not sure - we decided not to use the flir module.
#3
I've just installed the dev version, and it's definitely still looking in sites/all/modules/flir/flir for spacer.png
I've looked further into this and the modules/flir/flir/flir.js has the path hard coded at line 427 as below:
img.src = this.options.path+'sites/all/modules/flir/flir/spacer.png';The spacer.png file lives in the same directory, and changing flir.js to the following seems to work:
img.src = './spacer.png';