1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update to new confirm pattern

This commit is contained in:
Luke Pulverenti 2016-02-22 14:12:06 -05:00
parent a42596f118
commit 166a16b60d
11 changed files with 46 additions and 55 deletions

View file

@ -8,9 +8,9 @@
function deleteSeriesTimer(page, id) {
Dashboard.confirm(Globalize.translate('MessageConfirmSeriesCancellation'), Globalize.translate('HeaderConfirmSeriesCancellation'), function (result) {
require(['confirm'], function (confirm) {
if (result) {
confirm(Globalize.translate('MessageConfirmSeriesCancellation'), Globalize.translate('HeaderConfirmSeriesCancellation')).then(function () {
Dashboard.showLoadingMsg();
@ -20,8 +20,7 @@
reload(page);
});
}
});
});
}