Jquery mess in 2.3.9.7

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
6/5/2013 12:34:19 AM
Gravatar
Total Posts 8

Jquery mess in 2.3.9.7

jQuery is used by the Arteester template(3.1), by MojoPortal (from googleapis site), by .NET. 

The jQuery-based script in the template produces runtime errors after upgrading to 2.3.9.7. 

How to handle all this mess?


Update 1:

Temporarily fixed by adding IncludeJQueryMigrate="true" into layout.master.
But the question remains for future developments.

6/5/2013 5:54:43 AM
Gravatar
Total Posts 18439

Re: Jquery mess in 2.3.9.7

That is the correct solution as described in the Important Skin Changes article. Only other possible solution is to forever be stuck using legacy version of jquery. My expectation is that future versions of Artisteer will be updated to the newer jquery.

6/5/2013 6:42:13 AM
Gravatar
Total Posts 8

Re: Jquery mess in 2.3.9.7

"jQuery hell"!

M$ should pack it into an assembly and let us use it "side-by-side" :-)

6/5/2013 10:55:21 AM
Gravatar
Total Posts 2253

Re: Jquery mess in 2.3.9.7

This change (using jQueryMigrate) has nothing to do with Microsoft. The jQuery team made major changes with jQuery 1.9 which caused a lot of "older" jQuery plugins and general jQuery code to break. The jQuery-Migrate plugin allows one to continue to use old code and plugins with jQuery 1.9+.

Thanks,
Joe D.

6/5/2013 10:50:23 PM
Gravatar
Total Posts 92

mojoPortal Hosting & Design @ i7MEDIA!

Re: Jquery mess in 2.3.9.7

Because of the various changes in jQuery (for the betterment of all I might add) certain functions no longer work as you have experienced.  jQuery Migrate is not only for fixing your deprecated scripts, it will also display the issues that have been found in the browser's console for the use of fixing the issues.  I would suggest that you read up on it here and make the appropriate changes the the skin's scripts to future proof your skin, it will also mean that you won't have to include jQuery Migrate and your load time will be faster.

Sometimes updating things can be a pain, but with the internet always growing it's necessary.

Hope that helps,

-Elijah

6/6/2013 10:23:21 AM
Gravatar
Total Posts 18439

Re: Jquery mess in 2.3.9.7

Thanks for the beers Rostbif! Much appreciated.

Cheers,

Joe

You must sign in to post in the forums. This thread is closed to new posts.