czukowski/mootools-ToolTip — Issue #3: IE8 Error
Author: JSamir
Created: 2012-01-05 08:12:31+00:00
State: open

Hi,
thanks for this great class.

im testing a site in a VirtualBox-Image of Windows 7 with IE8.

I'm getting this error as the tooltip should get shown:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
Timestamp: Thu, 5 Jan 2012 08:10:32 UTC

Message: Object doesn't support this property or method
Line: 185
Char: 3
Code: 0
URI: http://192.168.2.102/j16//media/com_eh/js/forms/tooltip.js

Message: Object doesn't support this property or method
Line: 473
Char: 25
Code: 0
URI: http://192.168.2.102/j16/media/system/js/mootools-core.js

If i comment the whole if-statement:
if (typeOf(current = document.retrieve('ToolTip.current')) == 'object') {
current.hide();
}

Then i get no more errors but everything still works fine.