Private GIT

Skip to content
Snippets Groups Projects
Commit c8b4ae91 authored by Supremicus's avatar Supremicus
Browse files

Fix displayShow status and subtitle columns

Changed to the new column class names to properly update statuses.
Missed during new ui changes.
parent fe3024c8
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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);
}
......
(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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment