mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update toast
This commit is contained in:
parent
b3d91930d3
commit
91cedefe29
39 changed files with 165 additions and 67 deletions
|
@ -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'));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue