YAFLogo

johans
  • johans
  • 51.8% (Neutral)
  • YAF Lover Topic Starter
11 years ago
YAF.Utilities.JavaScriptBlocks needs an upgrade to work with jQuery UI 1.10

method JqueryUITabsLoadJs should be changed:

http://jqueryui.com/upgrade-guide/1.10/#removed-fx-option-use-show-and-hide 

string heightTransitionJs = hightTransition ? ", fx:{height:'toggle'}" : string.Empty;
[/code]into
[code=jscript]string heightTransitionJs = hightTransition ? ", show:{height:'toggle'}, hide:{height:'toggle'}" : string.Empty;

and

http://jqueryui.com/upgrade-guide/1.10/#removed-show-event-use-activate 

            show: function() {
into

activate: function() {
Sponsor
Zero2Cool
  • Zero2Cool
  • 100% (Exalted)
  • YAF Leader YAF Version: YAF 3.1.16
11 years ago
There was a change to v2.0 Beta not too long ago. Below is the link.

https://yafnet.codeplex.com/SourceControl/changeset/4675c56e3533 

I'm jQuery ignorant so I don't know if they are related, just sharing the info.

johans
  • johans
  • 51.8% (Neutral)
  • YAF Lover Topic Starter
11 years ago
That fix you linked contained 2 changes that was needed, but the one i showed in my first post is also needed.
JP
  • JP
  • 100% (Exalted)
  • YAF Leader
11 years ago
There seem to be other upgrades as well in jQuery UI 10.0.x...

I have upgraded to jQuery 2.0.0 & jQuery UI 10.0.2 - and some stuff is messed up in the forum...


He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Old Chinese Proverb]
johans
  • johans
  • 51.8% (Neutral)
  • YAF Lover Topic Starter
11 years ago
Do remember that jQuery 2.0 ditched support for IE 6,7 & 8 (if that's an issue for you).

I use jQuery 1.9.x series, and i have no problem with Yaf.

To simplify, the difference between jQuery 2.0.x and 1.9.x is the support for IE 6,7,8. So what other issues are you running into?

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
11 years ago

There seem to be other upgrades as well in jQuery UI 10.0.x...

I have upgraded to jQuery 2.0.0 & jQuery UI 10.0.2 - and some stuff is messed up in the forum...

Originally Posted by: JP 

All Plugins are currently tested only with jquery 1.x. I would not recommend to upgrade to 2.x yet.

And because of integrations with portals yaf needs to stick for a while with jquery 1.9/1.10