Update jQuery and jQuery UI to latest compatible versions

Bug #1275581 reported by Jono Mingard on 2014-02-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Low
Jono Mingard

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).

Jono Mingard (mingard) on 2014-02-04
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

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>

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) on 2014-10-21
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers