mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 21:21:15 -07:00
Add ability to duplicate a notifier
This commit is contained in:
parent
bfe5209c05
commit
1c142ef3f4
3 changed files with 54 additions and 11 deletions
|
@ -76,7 +76,7 @@ function confirmAjaxCall(url, msg, data, loader_msg, callback) {
|
|||
showMsg('<i class="fa fa-times"></i> ' + msg, false, true, 5000, true)
|
||||
}
|
||||
if (typeof callback === "function") {
|
||||
callback();
|
||||
callback(result);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -186,7 +186,7 @@ function doAjaxCall(url, elem, reload, form, showMsg, callback) {
|
|||
// Remove loaders and stuff, ajax request is complete!
|
||||
loader.remove();
|
||||
if (typeof callback === "function") {
|
||||
callback();
|
||||
callback(jqXHR);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue