Active
Project:
Javascript Tools
Version:
5.x-1.2
Component:
Tabs
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2008 at 16:50 UTC
Updated:
23 Feb 2012 at 08:23 UTC
Hi,
I had the error that $(menu + ' li.collapsed:not(.activemenu-processed)') is null in activemenu.js when creating new chat content (module phpfreechat).
I put a check and executed the related code if the var is not null.
After this, firebug give me another error, another null var ($('#search-theme-form, #search-block-form')) in activesearch.js . I put a check also there and third error, in tabs.js, is
$(".drupal-tabs:not(.tabs-processed)", context).addClass is not a function
addClass('tabs-processed')
It seems js does not recognise jQuery but include paths are fine.
I have the latest versions of jQuery, jstools etc.
Regards,
Comments
Comment #1
riverfr0zen commentedI'm getting a quite similar error. To be more specific, the error actually occurs on every page load on the Firefox error console -
Error: $(".drupal-tabs:not(.tabs-processed)", context).addClass("tabs-processed").addClass("tabs").each(function () {if ($(this).is(".tabs-navigation")) {Drupal.tabsNavigation(this);}}).tabs is not a function
Source File: http://msdrupal/modules/jstools/tabs/tabs.js
Line: 19
Using:
Firefox 3.0.4
jstools 5.x.1.2
jquery 1.2.6
Comment #2
riverfr0zen commentedAlso want to add that when I say jquery 1.2.6, I'm using the files from jquery_update
Comment #3
pauln600 commentedI get a similar error
$('.quicktabs_wrapper:not(.quicktabs-processed)', context).addClass is not a function (line 6)
when I include the Prototype Javascript Framework file prototype.js (http://www.prototypejs.org/).
Great module - very useful...
Paul N.
Comment #4
yonailoHey,
I have had the same problem and it was because my page was loading jquery.js twice. Fixing this resolved the problem.
Comment #5
opteronmx commentedThanks unknownguy, I had the same problem here!
I was manually calling jquery.js trough drupal_add_css in template.php, I commented that line and now it works.
Comment #6
ravi shankar karnati commentedu are told 'I was manually calling jquery.js trough drupal_add_css in template.php, I commented that line and now it works.',
but open , how to do it? send the code
plz tell me,
plz mail to pamidipadudravid@gmail.com
Thanks in advance