mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
697257670c
commit
02ae9ec81e
123 changed files with 13600 additions and 531 deletions
|
@ -1347,9 +1347,17 @@
|
|||
|
||||
function refreshWithOptions(page, options) {
|
||||
|
||||
$('#refreshLoading', page).show();
|
||||
Dashboard.showLoadingMsg();
|
||||
|
||||
ApiClient.refreshItem(currentItem.Id, options);
|
||||
|
||||
if (!ApiClient.isWebSocketOpen()) {
|
||||
|
||||
// For now this is a hack
|
||||
setTimeout(function () {
|
||||
Dashboard.hideLoadingMsg();
|
||||
}, 5000);
|
||||
}
|
||||
}
|
||||
|
||||
function onWebSocketMessageReceived(e, data) {
|
||||
|
@ -1364,7 +1372,6 @@
|
|||
|
||||
Logger.log('Item updated - reloading metadata');
|
||||
reload(page);
|
||||
$('#refreshLoading', page).hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue