diff --git a/gui/slick/interfaces/default/home_newShow.tmpl b/gui/slick/interfaces/default/home_newShow.tmpl index fead7b54..8eb01450 100644 --- a/gui/slick/interfaces/default/home_newShow.tmpl +++ b/gui/slick/interfaces/default/home_newShow.tmpl @@ -30,7 +30,7 @@ Find a show on the TVDB or TVRAGE
- + #if $use_provided_info: Show retrieved from existing metadata: $provided_indexer_name diff --git a/gui/slick/js/newShow.js b/gui/slick/js/newShow.js index 00d8f66f..1a8b9182 100644 --- a/gui/slick/js/newShow.js +++ b/gui/slick/js/newShow.js @@ -41,11 +41,10 @@ $(document).ready(function () { var searchingFor = $('#nameToSearch').val() + ' on ' + $('#providedIndexer option:selected').text() + ' in ' + $('#indexerLangSelect').val(); $('#searchResults').empty().html(' searching ' + searchingFor + '...'); - var indexerTimeout = parseInt($('#indexer_timeout').val(), 10); searchRequestXhr = $.ajax({ url: sbRoot + '/home/addShows/searchIndexersForShowName', data: {'search_term': $('#nameToSearch').val(), 'lang': $('#indexerLangSelect').val(), 'indexer': $('#providedIndexer').val()}, - timeout: indexerTimeout * 1000, + timeout: parseInt($('#indexer_timeout').val(), 10) * 1000, dataType: 'json', error: function () { $('#searchResults').empty().html('search timed out, try again or try another indexer');