Update for wowhead include script
TarPalantir - October 4, 2009 - 17:31
| Project: | Lootz Item Filter |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Wowhead javascript inclusion has changed
from:
http://www.wowhead.com/widgets/power.js"
to:
http://static.wowhead.com/widgets/power.js
The second link is faster than the first, please update in wowhead.inc file (at end of file):
/**
* Implementation of lootz_hook_init().
*/
function lootz_wowhead_init() {
// Include the external js.
//drupal_set_html_head(''."\n");
drupal_set_html_head(''."\n");
}
Sorry for my english... :)

#1
Sorry i am a noob with drupal filters, the code is:
/*** Implementation of lootz_hook_init().
*/
function lootz_wowhead_init() {
// Include the external js.
//drupal_set_html_head('<script src="http://www.wowhead.com/widgets/power.js"></script>'."\n");
drupal_set_html_head('<script src="http://static.wowhead.com/widgets/power.js"></script>'."\n");
}
#2
Thanks TarPalantir, committed to both 6.x and 7.x
#3
Automatically closed -- issue fixed for 2 weeks with no activity.