JS error in IE

abamarus - September 9, 2008 - 10:29
Project:Tabs (jQuery UI tabs)
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

When I try and use tabs in firefox everything is fine and works as I would want it.

When I test in IE the tabs fail due to a javascript error. When a tab is clicked on IE does nothing (because of the error) appart from report an error. When details are selected it says "Exception thrown and not caught". I have left off line and char numbers as IE always tells fibs about that!

I have labeled this as critical is it prevents the module being used with one of the most popular browsers on the planet!

#1

abamarus - September 9, 2008 - 10:48

OK... I've got a little more information. This error occurs when the tab would come up empty (the fields on the node were not allowed by the content access module). Because of this I don't know if it really just an IE error or if it applies to all browsers. When time allows I will check this.

#2

H3x - August 16, 2009 - 00:12

I have to same error. I use Tabs in conjunction with Tab Style Panels for the Panels module. When I tried my site in IE (GRRR!), the whole thing buggered up. I systematically disabled everything and only when I unselected "tabs" as the panel page style did the error disappear.

I there any way to solve this? Here is the error it throws:

Webpage Script Errors

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.0.30729)
Timestamp: Sat, 15 Aug 2009 23:53:30 UTC

0.
Message: 'undefined' is null or not an object
Line: 13
Char: 15910
Code: 0
URI: http://www.myserver/mydomain/mypath (to panel page)

#3

H3x - August 16, 2009 - 00:22
Version:6.x-1.0» 6.x-1.x-dev

#4

nedjo - August 18, 2009 - 22:00

Hmm. I recently added a test to prevent rendering of empty tabs, so this may help. I don't have access to IE7 for testing. This may be an issue that needs work in the jquery_ui library.

 
 

Drupal is a registered trademark of Dries Buytaert.