From c8b4ae918b4f967edcc775dccd0806902a3c7721 Mon Sep 17 00:00:00 2001
From: Supremicus <Supremicus@users.noreply.github.com>
Date: Mon, 10 Nov 2014 17:29:24 +1000
Subject: [PATCH] Fix displayShow status and subtitle columns

Changed to the new column class names to properly update statuses.
Missed during new ui changes.
---
 CHANGES.md                      | 1 +
 gui/slick/js/ajaxEpSearch.js    | 4 ++--
 gui/slick/js/ajaxEpSubtitles.js | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index 8f34e835..b147746f 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -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)
diff --git a/gui/slick/js/ajaxEpSearch.js b/gui/slick/js/ajaxEpSearch.js
index 54844e3c..a33b82e4 100644
--- a/gui/slick/js/ajaxEpSearch.js
+++ b/gui/slick/js/ajaxEpSearch.js
@@ -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);
 	            }
diff --git a/gui/slick/js/ajaxEpSubtitles.js b/gui/slick/js/ajaxEpSubtitles.js
index 3b961524..c057ae40 100644
--- a/gui/slick/js/ajaxEpSubtitles.js
+++ b/gui/slick/js/ajaxEpSubtitles.js
@@ -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();
-- 
GitLab