1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

replace all images when using identify function

This commit is contained in:
Luke Pulverenti 2014-06-14 22:24:04 -04:00
parent 9029ce93d3
commit 6b1c289d0c
5 changed files with 30 additions and 11 deletions

View file

@ -1191,9 +1191,15 @@
$('#refreshLoading', page).show();
var force = $('#selectRefreshMode', page).val() == 'all';
var mode = $('#selectRefreshMode', page).val();
ApiClient.refreshItem(currentItem.Id, force, true).done(function () {
ApiClient.refreshItem(currentItem.Id, {
forced: mode == 'allandimages' || mode == 'all',
recursive: true,
replaceAllImages: mode == 'allandimages'
}).done(function () {
reload(page);