CB 1.8.1 and BT Login Javascript Bug

11 years 8 months ago - 11 years 8 months ago #209960 by Greystoke
CB 1.8.1 and BT Login Javascript Bug was created by Greystoke
Hi,

When using BT Login with CB 1.8.1 on Joomla 2.5.6 there is a Javascript error.

TypeError: c.defaultView.getComputedStyle(a, null) is null

Line 15: /components/com_comprofiler/js/jquery-1.5.2/jquery-1.5.2.min.js

This looks like the JQuery iFrame Bug which was fixed in JQuery 1.6.1 on.

I replaced the code in jquery-1.5.2.min.js with the code from jquery-1.8.1.min.js, and the error was gone.

Is it ok to update the jquery files or have you another fix for this.

Thanks

Please Log in to join the conversation.

11 years 8 months ago #210085 by nant
Replied by nant on topic Re: CB 1.8.1 and BT Login Javascript Bug

Greystoke wrote: Hi,

When using BT Login with CB 1.8.1 on Joomla 2.5.6 there is a Javascript error.

TypeError: c.defaultView.getComputedStyle(a, null) is null

Line 15: /components/com_comprofiler/js/jquery-1.5.2/jquery-1.5.2.min.js

This looks like the JQuery iFrame Bug which was fixed in JQuery 1.6.1 on.

I replaced the code in jquery-1.5.2.min.js with the code from jquery-1.8.1.min.js, and the error was gone.

Is it ok to update the jquery files or have you another fix for this.

Thanks


Welcome to our forums and thanks for posting.

In prder for something to be considered a CB bug it must be reproducible on a clean Joomla / CB install.

I do not know what this BT Login module is nor do we support it.

There are many reports of conflicts similar to yours.

We load jQuery in deal non-conflict mode - if other extensions do the same then there should be no issues.


I guess what you did is ok for your case.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.204 seconds

Facebook Twitter LinkedIn