diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-01-30 22:12:42 +0100 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-01-30 22:12:42 +0100 |
commit | 990b21c267c223fa93aa294c7724f940bc3fe3f4 (patch) | |
tree | 47d1575a6bce658b123dcec5df4113579f220a11 /extensions | |
parent | c9e45583cf95176e5db4bf7db612ee1ce0a9c6c3 (diff) | |
download | bugzilla-990b21c267c223fa93aa294c7724f940bc3fe3f4.tar.gz bugzilla-990b21c267c223fa93aa294c7724f940bc3fe3f4.tar.xz |
Bug 1324055 - Upgrade jquery to 3.1.1 and jquery-ui 1.12.1
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Bitly/web/js/bitly.js | 2 | ||||
-rw-r--r-- | extensions/BugModal/web/bug_modal.js | 2 | ||||
-rw-r--r-- | extensions/OrangeFactor/web/js/orange_factor.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/extensions/Bitly/web/js/bitly.js b/extensions/Bitly/web/js/bitly.js index 6784c83e9..cdf1a917a 100644 --- a/extensions/Bitly/web/js/bitly.js +++ b/extensions/Bitly/web/js/bitly.js @@ -26,7 +26,7 @@ $(function() { urls[type] = data.url; $('#bitly-url').val(urls[type]).select().focus(); }) - .error(function(data) { + .fail(function(data) { $('#bitly-url').val(data.responseJSON.message); }); } diff --git a/extensions/BugModal/web/bug_modal.js b/extensions/BugModal/web/bug_modal.js index 01be1fd2c..2a75d33d2 100644 --- a/extensions/BugModal/web/bug_modal.js +++ b/extensions/BugModal/web/bug_modal.js @@ -1423,7 +1423,7 @@ function bugzilla_ajax(request, done_fn, error_fn) { done_fn(data); } }) - .error(function(data) { + .fail(function(data) { if (data.statusText === 'abort') return; var message = data.responseJSON ? data.responseJSON.message : 'Unexpected Error'; // all errors are unexpected :) diff --git a/extensions/OrangeFactor/web/js/orange_factor.js b/extensions/OrangeFactor/web/js/orange_factor.js index 26edb9aa1..c87339dc7 100644 --- a/extensions/OrangeFactor/web/js/orange_factor.js +++ b/extensions/OrangeFactor/web/js/orange_factor.js @@ -81,7 +81,7 @@ $(function() { .done(function(data) { getOrangeCount(data); }) - .error(function() { + .fail(function() { $('#graph-count').hide(); $('#orange-graph').hide() }); |