replace $.ajax().success() by $.ajax().done()
This commit is contained in:
parent
ca4a67d56b
commit
0ba1626591
|
@ -210,7 +210,7 @@ var gadjo_js = gadjo_js || {};
|
|||
type: 'POST',
|
||||
url: action_url,
|
||||
data: $form.serialize(),
|
||||
}).success(function(data) {
|
||||
}).done(function(data) {
|
||||
$anchor.trigger('gadjo:dialog-done', data);
|
||||
$content.dialog('destroy');
|
||||
}).fail(function() { $anchor.trigger('gadjo:dialog-submit-error');
|
||||
|
|
Loading…
Reference in New Issue