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

fix directory not found error in episode organization

This commit is contained in:
Luke Pulverenti 2014-02-25 10:40:16 -05:00
parent 7f4ef41bf1
commit d93325e109
2 changed files with 7 additions and 6 deletions

View file

@ -25,7 +25,7 @@
<div style="margin: -25px 0 1em;">
<div style="display: inline-block;">
<a class="lnkBrowseImages lnkBrowseAllImages hide" href="#popupDownload" data-rel="popup" data-position-to="window" data-role="button" data-inline="true" data-icon="cloud" data-mini="true" data-transition="pop">Browse Images</a>
<a class="lnkBrowseImages lnkBrowseAllImages hide" data-rel="popup" data-position-to="window" data-role="button" data-inline="true" data-icon="cloud" data-mini="true" data-transition="pop">Browse Images</a>
</div>
<div style="display: inline-block;">
<a href="#popupUpload" data-rel="popup" data-position-to="window" data-role="button" data-inline="true" data-icon="plus" data-mini="true" data-transition="pop">Upload</a>
@ -94,7 +94,7 @@
</form>
</div>
<div data-role="popup" id="popupDownload" class="popup" data-theme="a">
<div data-role="popup" class="popup popupDownload" data-theme="a">
<a href="#" data-rel="back" data-role="button" data-icon="delete" data-iconpos="notext" class="ui-btn-right" data-theme="b">Close</a>
<div class="ui-bar-b" style="text-align: center; padding: 0 20px;">

View file

@ -7,7 +7,6 @@
var browsableImageStartIndex = 0;
var browsableImageType = 'Primary';
var selectedProvider;
var allLanguages = false;
function updateTabs(page, item) {
@ -57,7 +56,7 @@
options.type = browsableImageType;
options.startIndex = browsableImageStartIndex;
options.limit = browsableImagePageSize;
options.IncludeAllLanguages = allLanguages;
options.IncludeAllLanguages = $('#chkAllLanguages', page).checked();
var provider = selectedProvider || '';
@ -124,7 +123,7 @@
ApiClient.downloadRemoteImage(options).done(function () {
$('#popupDownload', page).popup("close");
$('.popupDownload', page).popup("close");
reload(page);
});
}
@ -526,6 +525,7 @@
self.showDownloadMenu = function (type) {
browsableImageStartIndex = 0;
browsableImageType = type;
$('.lnkBrowseImages').trigger('click');
};
}
@ -556,6 +556,8 @@
selectedProvider = null;
$('.popupDownload', page).popup('open');
reloadBrowsableImages(page);
});
@ -579,7 +581,6 @@
$('#chkAllLanguages', page).on('change', function () {
browsableImageStartIndex = 0;
allLanguages = this.checked;
reloadBrowsableImages(page);
});