diff options
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() }); |