renamed image refresh setting in config page

This commit is contained in:
Luke Pulverenti 2013-05-20 11:37:25 -04:00
parent 98745286f0
commit d18419b33f
2 changed files with 3 additions and 6 deletions

View File

@ -19,10 +19,7 @@
<ul data-role="listview" class="ulForm">
<li>
<input type="checkbox" id="chkRefreshItemImages" name="chkRefreshItemImages" />
<label for="chkRefreshItemImages">Refresh existing images </label>
<div class="fieldDescription">
When enabled, images will be refreshed periodically
</div>
<label for="chkRefreshItemImages">Download missing images only</label>
</li>
<li>
<label for="txtNumbackdrops">Max number of backdrops per item: </label>

View File

@ -17,7 +17,7 @@
$('#selectTmdbPosterDownloadSize', page).val(config.TmdbFetchedPosterSize).selectmenu("refresh");
$('#selectTmdbBackdropDownloadSize', page).val(config.TmdbFetchedBackdropSize).selectmenu("refresh");
$('#chkRefreshItemImages', page).checked(config.RefreshItemImages).checkboxradio("refresh");
$('#chkRefreshItemImages', page).checked(!config.RefreshItemImages).checkboxradio("refresh");
$('#txtNumbackdrops', page).val(config.MaxBackdrops);
$('#chkDownloadMovieArt', page).checked(config.DownloadMovieImages.Art).checkboxradio("refresh");
@ -60,7 +60,7 @@
config.TmdbFetchedPosterSize = $('#selectTmdbPosterDownloadSize', form).val();
config.TmdbFetchedBackdropSize = $('#selectTmdbBackdropDownloadSize', form).val();
config.RefreshItemImages = $('#chkRefreshItemImages', form).checked();
config.RefreshItemImages = !$('#chkRefreshItemImages', form).checked();
config.MaxBackdrops = $('#txtNumbackdrops', form).val();
config.DownloadMovieImages.Art = $('#chkDownloadMovieArt', form).checked();