1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Merge pull request #139 from Supremicus/feature/fix_status_column

Fix displayShow status and subtitle columns
This commit is contained in:
JackDandy 2014-11-10 13:33:06 +00:00
commit 8c91bfdcc2
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();