Closed (duplicate)
Project:
Click HeatMap
Version:
6.x-2.6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2010 at 12:36 UTC
Updated:
10 Aug 2010 at 16:42 UTC
There was a js error in the click_heatmap.js file:
Basically, it had:
// $Id: click_heatmap.js,v 1.1.2.1 2009/09/28 07:09:58 boombatower Exp $
2
3 /**
4 * If inside the ClickHeat iframe then remove admin menu.
5 */
6 Drupal.behaviors.click_heatmap = function()) {
Uncaught SyntaxError: Unexpected token )
7 if (window.location.href != parent.location.href) {
8 $('#admin-menu').remove();
9 }
10 }
On line 6, the function part has an extra bracket. It should have:
Drupal.behavious.click_heatmap = function(){
So that's that.
Comments
Comment #1
mcrittenden commentedComment #2
bonvga commentedsubscribe.
Comment #3
philbar commented#611596: Extra parenthesis in click_heatmap.js