mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
added a photo view
This commit is contained in:
parent
0f0fdd1bd1
commit
6daaed3bcc
11 changed files with 301 additions and 12 deletions
|
@ -1338,10 +1338,9 @@
|
|||
|
||||
function refreshWithOptions(page, options) {
|
||||
|
||||
ApiClient.refreshItem(currentItem.Id, options).done(function () {
|
||||
$('#refreshLoading', page).show();
|
||||
|
||||
Dashboard.alert(Globalize.translate('MessageRefreshQueued'));
|
||||
});
|
||||
ApiClient.refreshItem(currentItem.Id, options);
|
||||
}
|
||||
|
||||
function onWebSocketMessageReceived(e, data) {
|
||||
|
@ -1352,8 +1351,11 @@
|
|||
|
||||
if (msg.Data.ItemsUpdated.indexOf(currentItem.Id) != -1) {
|
||||
|
||||
var page = $.mobile.activePage;
|
||||
|
||||
console.log('Item updated - reloading metadata');
|
||||
reload($.mobile.activePage);
|
||||
reload(page);
|
||||
$('#refreshLoading', page).hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue