Closed (fixed)
Project:
Auto Time Zone
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Dec 2006 at 01:16 UTC
Updated:
31 May 2007 at 15:46 UTC
this is my line 11:
if (!(offset == -60)) {document.write('<link rel="stylesheet" type="text/css" href="/drupal/index.php?q=autotimezone/' + offset + '" />')};
This bug has been found with SGML Parser in FF HTML Tidy (http://users.skynet.be/mgueury/mozilla/)
The following article will be helpfull - how to fix - this bug: http://drupal.org/node/104793
Comments
Comment #1
LukeLast commentedThis is one side effect of using this javascript css link method.
Comment #2
hass commentedBut you are able to fix this, see my feature request http://drupal.org/node/104793. This will fix the problem and is used in drupal core, too!
Comment #3
LukeLast commentedWow, your right that works.
Good work!
Comment #4
(not verified) commentedComment #5
hass commentedi'm sorry, i must reopen the bug. i told you about a function that is already build in drupal and i haven't seen. it is named
drupal_to_js();and this seems to be the API way you should go...Comment #6
LukeLast commentedI added some drupal_to_js calls although they don't really do anything.