Skip to Content Skip to Menu

jQuery Version

  • mev55
  • mev55
  • OFFLINE
  • Posts: 12
  • Thanks: 0
  • Karma: 0
13 years 7 months ago #165349 by mev55
jQuery Version was created by mev55
The jQuery version used with CB (1.5.0) has some bugs. What is the easiest way to upgrade the jQuery version that CB uses to version 1.6.1?

Please Log in or Create an account to join the conversation.

  • beat
  • beat
  • ONLINE
  • Posts: 2174
  • Thanks: 463
  • Karma: 352
13 years 7 months ago #165377 by beat
Replied by beat on topic Re: jQuery Version
Every jQuery version has some bugs.

E.g. See:
bugs.jquery.com/query?status=%21closed&group=milestone&report=3&order=priority
for currently open ones (affecting 1.6.1 too).

Even jQuery 1.6.0 had backwards-incompatibilities that got fixed in 1.6.1.

I'm not aware of any jQuery 1.5.0 bug affecting CB itself or any of the 50+ CB Team plugins.

Can you please be more specific ?

To upgrade, you need to overwrite the files in the js/jquery folder of CB, at your own risk. so backup first.

Each CB version comes with latest jQuery plugin at release time that is stable and backwards compatible and tested.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in or Create an account to join the conversation.

  • mev55
  • mev55
  • OFFLINE
  • Posts: 12
  • Thanks: 0
  • Karma: 0
13 years 7 months ago #165392 by mev55
Replied by mev55 on topic Re: jQuery Version
The error I am getting with my template with superfish is:
Object doesn't support property or method 'getElementsByTagName'
Which was supposed to be fixed in version 1.5.1.

So I did the following (at my own risk :unsure: ):
1) Copied the 1.5.1 version of jQuery to the com_profiler folder
2) Renamed them to jquery-1.5.0.min.js and jquery-1.5.0.js respectively.

So far so good.

Would you recommend a different approach?

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum