mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add connect error handling
This commit is contained in:
parent
503a18926b
commit
2ad4785b2b
2 changed files with 15 additions and 3 deletions
|
@ -95,8 +95,17 @@
|
|||
|
||||
}).done(function () {
|
||||
|
||||
Dashboard.alert(Globalize.translate('SettingsSaved'));
|
||||
loadData(page);
|
||||
Dashboard.alert({
|
||||
|
||||
message: Globalize.translate('MessageMediaBrowserAccontRemoved'),
|
||||
title: Globalize.translate('HeaderMediaBrowserAccountRemoved'),
|
||||
|
||||
callback: function () {
|
||||
|
||||
loadData(page);
|
||||
}
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue