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

@ -20,7 +20,9 @@
if (!target) {
Dashboard.alert(Globalize.translate('MessagePleaseSelectDeviceToSyncTo'));
require(['toast'], function (toast) {
toast(Globalize.translate('MessagePleaseSelectDeviceToSyncTo'));
});
return;
}
@ -52,7 +54,9 @@
}).then(function () {
paperDialogHelper.close(dlg);
Dashboard.alert(Globalize.translate('MessageSyncJobCreated'));
require(['toast'], function (toast) {
toast(Globalize.translate('MessageSyncJobCreated'));
});
});
}