mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
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:
parent
fe3024c815
commit
c8b4ae918b
@ -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);
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user