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

update toast

This commit is contained in:
Luke Pulverenti 2016-02-25 01:38:12 -05:00
parent b3d91930d3
commit 91cedefe29
39 changed files with 165 additions and 67 deletions

View file

@ -12,7 +12,9 @@
ApiClient.cancelLiveTvTimer(id).then(function () {
Dashboard.alert(Globalize.translate('MessageRecordingCancelled'));
require(['toast'], function (toast) {
toast(Globalize.translate('MessageRecordingCancelled'));
});
Dashboard.navigate('livetv.html');
});
@ -78,7 +80,9 @@
ApiClient.updateLiveTvTimer(item).then(function () {
Dashboard.hideLoadingMsg();
Dashboard.alert(Globalize.translate('MessageRecordingSaved'));
require(['toast'], function (toast) {
toast(Globalize.translate('MessageRecordingSaved'));
});
});
});