From 35ba3cce709d761fb396541fc5a6678efe44c780 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Wed, 15 Mar 2017 14:42:34 -0400 Subject: [PATCH] Fix wrong deferred function name --- view/theme/frio/js/textedit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/theme/frio/js/textedit.js b/view/theme/frio/js/textedit.js index 02191f33d..d212ee003 100644 --- a/view/theme/frio/js/textedit.js +++ b/view/theme/frio/js/textedit.js @@ -181,7 +181,7 @@ function dropItem(url, elementId) { $el.fadeTo('fast', 0.33, function () { $.get(url).then(function() { $el.remove(); - }).error(function() { + }).fail(function() { // @todo Show related error message $el.show(); }).always(function() {