Fix displayShow status and subtitle columns

Changed to the new column class names to properly update statuses.
Missed during new ui changes.
This commit is contained in:
Supremicus 2014-11-10 17:29:24 +10:00
parent fe3024c815
commit c8b4ae918b
3 changed files with 4 additions and 3 deletions

View File

@ -71,6 +71,7 @@
* Fix invalid use of str() in the Send2Trash library for platforms other
* Fix dropdown confirm dialogs for restart and shutdown
* Fix parsing utf8 data from tvdb and tvrage
* Fix display show status and subtitle searches to use new column class names
### 0.2.1 (2014-10-22 06:41:00 UTC)

View File

@ -82,7 +82,7 @@ function updateImages(data) {
}
// update the status column if it exists
parent.siblings('.status_column').html(HtmlContent)
parent.siblings('.col-status').html(HtmlContent)
}
@ -167,7 +167,7 @@ function disableLink(el) {
var rSearchTerm = /(\w+)\s\((.+?)\)/;
HtmlContent = data.result.replace(rSearchTerm,"$1"+' <span class="quality '+data.quality+'">'+"$2"+'</span>');
// update the status column if it exists
parent.siblings('.status_column').html(HtmlContent)
parent.siblings('.col-status').html(HtmlContent)
// Only if the queing was succesfull, disable the onClick event of the loading image
disableLink(link);
}

View File

@ -1,7 +1,7 @@
(function(){
$.fn.ajaxEpSubtitlesSearch = function(){
$('.epSubtitlesSearch').click(function(){
var subtitles_td = $(this).parent().siblings('.subtitles_column');
var subtitles_td = $(this).parent().siblings('.col-subtitles');
var subtitles_search_link = $(this);
// fill with the ajax loading gif
subtitles_search_link.empty();