Closed (works as designed)
Project:
Get Satisfaction
Version:
6.x-1.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Mar 2009 at 04:47 UTC
Updated:
13 Jun 2009 at 16:57 UTC
Jump to comment: Most recent file
Comments
Comment #1
jjeff commentedHere's a patch which fixes this problem. It's actually an add-on to the patch over at http://drupal.org/node/391762 so sorry if it doesn't apply without the other part, but you get the gist at least. Here's what the patch does:
* Changes from hook_footer() to hook_init()
* Removes the drupal_add_css() since this function only works with local CSS files - this line was never working correctly with this module
* Uses drupal_set_html_head to add the (remote) CSS file to the page HEAD
* Removes the function output, since hook_init() doesn't expect output
Comment #2
flevour commentedReviewed, tested and committed.
Thank you Jeff,
Francesco
Comment #4
frankcarey commentedI'm still getting this in my html body near the end..
I just downloaded the 1.0 version a couple days ago. did this get left in by accident? The problem is that it's breaking popups api popups.
Comment #5
frankcarey commentedComment #6
frankcarey commentedah, ok should have had 6.1.1! funny that drush didn't pick the right one... worked on svn update code ?! :) closing issue.
Comment #7
frankcarey commentednote that the code is still outputting to the footer. though I'm not sure how bad that is if the idea is for the tab to be the last thing loaded.
the drupal_add_js() should be 'header' not 'footer' to "fix" the title of the issue.
Comment #8
flevour commentedHi Frank,
the issue is about style tag not being output in head, which has been fixed.
I prefer outputting the JS in the footer, so the page doesn't hang while the external scripts are loaded.
It is also suggested by Yahoo: http://developer.yahoo.com/performance/rules.html#js_bottom
Thanks for the report anyway :)
Francesco