Commit 9e66cf5e authored by echel0n's avatar echel0n
Browse files

Fixed javascript issue when adding existing shows

parent b6f75975
# Changelog
- * 26cd567 - 2018-08-27: Release v9.3.62
- * eaaf2ed - 2018-08-27: Fixed javascript issue when adding existing shows
- * 6b01822 - 2018-08-27: Release v9.3.62
- * c831b4d - 2018-08-27: Fixed issue with TheTVDB indexer cache
- * c4c732f - 2018-08-27: Release v9.3.61
- * 085b442 - 2018-08-26: Shows returned from search filtered if show in library
......
......@@ -117,6 +117,9 @@
<button class="btn btn-primary nextBtn disabled pull-right" type="button">
${_('Next')}
</button>
% if provided_show_dir:
<input class="btn float-right" type="button" id="skipShowButton" value="${_('Skip Show')}"/>
% endif
</div>
</div>
......@@ -164,11 +167,6 @@
% endfor
<input type="hidden" name="skipShow" id="skipShow" value=""/>
</form>
<div style="width: 100%; text-align: center;">
% if provided_show_dir:
<input class="btn" type="button" id="skipShowButton" value="${_('Skip Show')}"/>
% endif
</div>
</div>
</div>
</div>
......
......@@ -1088,7 +1088,9 @@ $(document).ready(function ($) {
$.get(SICKRAGE.srWebRoot + '/config/general/saveRootDirs', {rootDirString: $('#rootDirText').val()});
});
$('#rootDirs').click(SICKRAGE.root_dirs.refreshRootDirs);
$('#rootDirs').click(function () {
SICKRAGE.root_dirs.refreshRootDirs();
});
SICKRAGE.root_dirs.syncOptionIDs();
SICKRAGE.root_dirs.setDefault($('#whichDefaultRootDir').val(), true);
......@@ -1214,7 +1216,7 @@ $(document).ready(function ($) {
//logString += 'def: ' + $('#whichDefaultRootDir').val();
$('#rootDirText').val(dirString);
//$('#rootDirText').change();
$('#rootDirText').change();
}
},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment