Fix wrong deferred function name
This commit is contained in:
parent
327b00117d
commit
35ba3cce70
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ function dropItem(url, elementId) {
|
||||||
$el.fadeTo('fast', 0.33, function () {
|
$el.fadeTo('fast', 0.33, function () {
|
||||||
$.get(url).then(function() {
|
$.get(url).then(function() {
|
||||||
$el.remove();
|
$el.remove();
|
||||||
}).error(function() {
|
}).fail(function() {
|
||||||
// @todo Show related error message
|
// @todo Show related error message
|
||||||
$el.show();
|
$el.show();
|
||||||
}).always(function() {
|
}).always(function() {
|
||||||
|
|
Loading…
Reference in a new issue