Update jQuery and jQuery UI to latest compatible versions

Bug #1275581 reported by Jono M
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Jono M

Bug Description

Mahara 1.8 is using jQuery 1.7.1 - we should upgrade this to at least 1.7.2 and probably beyond. Since jQuery 1.9 introduces various breaking changes (http://jquery.com/upgrade-guide/1.9/) the safest bet would be to upgrade to 1.8.3.

jQuery UI should also be updated. Their API is also in flux so it would be safest to upgrade to 1.9 (1.10 starts to remove deprecated features - http://jqueryui.com/upgrade-guide/1.9/#api-redesigns).

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/2976

Jono M (jonom)
Changed in mahara:
importance: Undecided → Low
status: New → In Progress
assignee: nobody → Jono Mingard (mingard)
Changed in mahara:
milestone: 1.9.0 → 1.10.0
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/2976
Committed: http://gitorious.org/mahara/mahara/commit/1ebf1e606391ce66e348479801202dc2b8bfac8e
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 1ebf1e606391ce66e348479801202dc2b8bfac8e
Author: Jono Mingard <email address hidden>
Date: Mon Feb 3 15:38:12 2014 +1300

Updated jQuery and jQuery UI (Bug #1275581)

jQuery: 1.7.1 -> 2.1.1
jQuery UI: 1.8.19 -> 1.10.2

Also removed apparently superfluous custom style for jQuery UI

Change-Id: I8022840d3e8d0e28b2b91a5baa7cd982ac5bb00a
Signed-off-by: Jono Mingard <email address hidden>

Revision history for this message
Robert Lyon (robertl-9) wrote :

Decided to take the plunge and upgrade the jQuery to v 2.1.1 (latest stable) and jQuery-ui to 1.10.2 (latest stable that doesn't break draggable helper function positioning) to see what prolems occur.

Needed to add a deprecated_jquery.js file to handle a few things for IE8 - which can be removed when we don't need to worry about that anymore.

Changed in mahara:
status: In Progress → Fix Committed
Aaron Wells (u-aaronw)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.