Closed (fixed)
Project:
Thickbox
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2011 at 11:22 UTC
Updated:
28 Jun 2011 at 11:41 UTC
When I visit some internal pages with IE I recive 404 errors with the thickbox_ie.css file.
I have found this code:
drupal_set_html_head('<!--[if IE]><link type="text/css" rel="stylesheet" media="all" href="'. $path .'/thickbox_ie.css'.'" /><![endif]-->');
That should be:
drupal_set_html_head('<!--[if IE]><link type="text/css" rel="stylesheet" media="all" href="/'. $path .'/thickbox_ie.css'.'" /><![endif]-->');
See the / before the $path.
This change solves all my 404 errors
Comments
Comment #1
oriol_e9gSolved in 6.x-1.x-dev with other approach.