Closed (fixed)
Project:
Tabs (jQuery UI tabs)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2009 at 05:18 UTC
Updated:
2 Sep 2009 at 14:30 UTC
Hi!
I tried the latest version of tabs but it doesn't work and I got a lot of javascript errors
In IE 8:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Timestamp: Wed, 19 Aug 2009 05:14:14 UTC
Message: Object doesn't support this property or method
Line: 15
Char: 1
Code: 0
URI: http://www.somvprahe.sk/sites/all/modules/tabs/ui.tabs.js?O
Message: Object doesn't support this property or method
Line: 13
Char: 3
Code: 0
URI: http://www.somvprahe.sk/sites/all/modules/tabs/tabs.js?O
or in FF 2.5
$.widget is not a function
anonymous(function())ui.tabs.js?O (line 488)
ui.tabs.js?O()ui.tabs.js?O (line 572)
[Break on this error] ui: function(tab, panel) {\r\nui.tabs.js?O (line 488)
$(".drupal-tabs:not(.tabs-processed)", context).addClass("tabs-processed").each(function () {if ($(this).is(".tabs-navigation")) {Drupal.tabsNavigation(this);}}).find("> ul").each(function () {var href = $(this).find("li.active:first a").attr("href");selected = href ? href.substring(href.indexOf("#")) : 1;}).tabs is not a function
anonymous(Document www.somvprahe.sk)tabs.js?O (line 28)
anonymous()drupal.js?O (line 42)
anonymous(Object, function(), Object name=c)jquery.j...val/seq/1 (line 1)
anonymous(Document www.somvprahe.sk)drupal.js?O (line 41)
anonymous()drupal.js?O (line 276)
anonymous()jquery.j...val/seq/1 (line 1)
anonymous()jquery.j...val/seq/1 (line 1)
anonymous([function(), function(), function(), 4 more...], function(), Object name=c)jquery.j...val/seq/1 (line 1)
anonymous()jquery.j...val/seq/1 (line 1)
[Break on this error] fx: fx\ntabs.js?O (line 28
I cleared all caches after copyiing a new dev version and before trying it in browser. When I replace new dev version by my old version, it works fine.
thanks for fix
Igor
http://www.somvprahe.sk
Comments
Comment #1
igorik commentedmy old version which works fine is 6.x-1.0
Comment #2
thekayra commentedI am not 100% sure if they are related but the tabs do not load at all with FF 3.0. when I reverted back to the 6.x-1.0, things comes back to normal.
Comment #3
nedjoThanks for the report. I'd missed adding ui.core.js, now required by ui.tabs.js. Fixed.
Note that you can optionally install jquery_ui module now and its files will be used.