clickheat.js not being linked correctly

Deciphered - February 11, 2008 - 00:19
Project:Click HeatMap
Version:5.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:boombatower
Status:closed
Description

Javascript doesn't include base path, therefore only works on the front page.

click_heatmap.module line 97:

    return '<script type="text/javascript" src="'. drupal_get_path('module', 'click_heatmap') .'/clickheat/js/clickheat.js"></script>'."\n";

Should be:

    return '<script type="text/javascript" src="'. base_path() . drupal_get_path('module', 'click_heatmap') .'/clickheat/js/clickheat.js"></script>'."\n";

#1

Deciphered - February 11, 2008 - 01:05

#2

boombatower - February 11, 2008 - 04:13
Status:active» fixed

Once again thanks, I think that was overlooked when I fixed http://drupal.org/node/219641.

#3

Anonymous (not verified) - February 25, 2008 - 04:21
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#4

boombatower - March 11, 2008 - 21:39
Assigned to:Anonymous» boombatower
 
 

Drupal is a registered trademark of Dries Buytaert.