diff --git a/NzbDrone.Web/Content/Images/thetvdb.png b/NzbDrone.Web/Content/Images/thetvdb.png
new file mode 100644
index 000000000..b09a0d523
Binary files /dev/null and b/NzbDrone.Web/Content/Images/thetvdb.png differ
diff --git a/NzbDrone.Web/NzbDrone.Web.csproj b/NzbDrone.Web/NzbDrone.Web.csproj
index 46bd02761..9c735422f 100644
--- a/NzbDrone.Web/NzbDrone.Web.csproj
+++ b/NzbDrone.Web/NzbDrone.Web.csproj
@@ -159,6 +159,7 @@
+
diff --git a/NzbDrone.Web/Scripts/NzbDrone/AutoComplete.js b/NzbDrone.Web/Scripts/NzbDrone/AutoComplete.js
index bedd563ef..a60d128f1 100644
--- a/NzbDrone.Web/Scripts/NzbDrone/AutoComplete.js
+++ b/NzbDrone.Web/Scripts/NzbDrone/AutoComplete.js
@@ -65,7 +65,7 @@ function bindSeriesAutoComplete(selector) {
.data("autocomplete")._renderItem = function (ul, item) {
return $("
")
.data("item.autocomplete", item)
- .append("" + item.DisplayedTitle + "" + item.Url + "
")
+ .append("" + item.DisplayedTitle + "")
.appendTo(ul);
};
});
diff --git a/NzbDrone.Web/Views/AddSeries/Index.cshtml b/NzbDrone.Web/Views/AddSeries/Index.cshtml
index 5d28f460f..943409103 100644
--- a/NzbDrone.Web/Views/AddSeries/Index.cshtml
+++ b/NzbDrone.Web/Views/AddSeries/Index.cshtml
@@ -39,6 +39,12 @@
.tvDbLink {
color: #065EFE;
+ background-repeat: no-repeat;
+ background-position: 5px center;
+ background-image:url('../../Content/Images/thetvdb.png');
+ width: 22px;
+ height: 20px;
+ float: right;
}
.tvDbLink:hover {
@@ -72,7 +78,7 @@
});
$(document).on('click', '.tvDbLink', function (event) {
- var url = $(this).text();
+ var url = $(this).attr('rel');
window.open(url, 'thetvdb');
event.preventDefault();
});