mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update alerts
This commit is contained in:
parent
d74e699177
commit
3e161d7edb
11 changed files with 143 additions and 79 deletions
|
@ -802,15 +802,13 @@
|
|||
|
||||
self.showPlaybackInfoErrorMessage = function (errorCode) {
|
||||
|
||||
// This timeout is messy, but if jqm is in the act of hiding a popup, it will not show a new one
|
||||
// If we're coming from the popup play menu, this will be a problem
|
||||
|
||||
setTimeout(function () {
|
||||
Dashboard.alert({
|
||||
message: Globalize.translate('MessagePlaybackError' + errorCode),
|
||||
title: Globalize.translate('HeaderPlaybackError')
|
||||
require(['alert'], function (alert) {
|
||||
alert({
|
||||
title: Globalize.translate('HeaderPlaybackError'),
|
||||
text: Globalize.translate('MessagePlaybackError' + errorCode),
|
||||
type: 'error'
|
||||
});
|
||||
}, 300);
|
||||
});
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue