ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

How can I update jQuery safely to fix IE9 drag/drop bug?

August 19, 2011 4:39pm

Subscribe [3]
  • #1 / Aug 19, 2011 4:39pm

    bgarrant

    356 posts

    In IE9, the drag and drop functions of jQuery do not function with EE 2.2.2.  I would like to update to a newer version of jQuery JS and the UI files, but I need advice on how to do this without hurting the EE install.  What versions of jQuery JS and UI files will I need?  Minified version, etc.?  I know the issue is fixed in newer versions of jQuery, but EE is still using the version with the bug in it.

    See this bug report for jQuery: http://bugs.jqueryui.com/ticket/5370

    I am trying to use a few add-ons and they also fail in IE9 such as Structure and Low Reorder.  If you can help me update jQuery to latest version all will work.  I think these are latest version, but are these the correct versions I need?

    http://code.jquery.com/jquery-1.6.2.min.js
    http://jqueryui.com/download/jquery-ui-1.8.16.custom.zip

  • #2 / Aug 22, 2011 3:05am

    John Henry Donovan

    12339 posts

    bgarrant,

    Looking at your jquery bug the fix is a one liner to jquery.ui.mouse.js

    You could try replacing the version in themes/javascript/compressed/jquery/ui/jquery.ui.mouse.js

    The original file is compressed but just see if replacing that file after backing it up helps first

  • #3 / Aug 22, 2011 9:03am

    bgarrant

    356 posts

    I replaced the jquery.ui.mouse.js with the new jQuery UI Mouse 1.8.15 jquery.ui.mouse.min.js minified version.  I just had to rename jquery.ui.mouse.min.js to jquery.ui.mouse.js and then upload.  Issue resolved with IE9.

    Just rename the new jquery.ui.mouse.min.js to jquery.ui.mouse.js, then backup and replace the themes/javascript/compressed/jquery/ui/jquery.ui.mouse.js file with the file.  This solved the IE9 reorder issue for me with EE 2.2.2 and EE 2.2.1.  I have not seen any other issues yet with just replacing the single file, but I am still testing it.  All looks good from what I can see so far.

  • #4 / Aug 22, 2011 8:40pm

    Dan Decker

    7338 posts

    Hi bgarrant,

    I’m happy to see that updating jQuery UI did the trick for you. Thank you for sharing your solutions and methods! Please start a new thread anytime you need assistance.

    Cheers!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases