IE 7 javascript errors on the page that display the categories

chrisd - December 3, 2006 - 14:14
Project:Taxonomy dhtml
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

IE 7 javascript errors on the page that display the categories
IE says line 177

If a choose to open the debugger I get the error here:

/**
* Adds a function to the window onload event
*/
function addLoadEvent(func) {
  var oldOnload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func; //HERE IS WHERE IT SAYS THE PROBLEM IS
  }
  else {
    window.onload = function() {
      oldOnload();
      func();
    }
  }
}

Looks like other have reported errors with IE long time ago...

#1

meba - February 18, 2007 - 20:04
Status:active» closed

This will be fixed in 5.x version of this module.

 
 

Drupal is a registered trademark of Dries Buytaert.