diff --git a/NzbDrone.Web/Web.config b/NzbDrone.Web/Web.config
index d9354b396..a5d446002 100644
--- a/NzbDrone.Web/Web.config
+++ b/NzbDrone.Web/Web.config
@@ -12,6 +12,14 @@
+
+
+
+
+
+
+
+
diff --git a/NzbDrone.Web/_backboneApp/AddSeries/AddNewSeries/AddNewSeriesView.js b/NzbDrone.Web/_backboneApp/AddSeries/AddNewSeries/AddNewSeriesView.js
index 137825dc6..930cd8f7b 100644
--- a/NzbDrone.Web/_backboneApp/AddSeries/AddNewSeries/AddNewSeriesView.js
+++ b/NzbDrone.Web/_backboneApp/AddSeries/AddNewSeries/AddNewSeriesView.js
@@ -58,7 +58,14 @@ NzbDrone.AddSeries.AddNewSeriesView = Backbone.Marionette.Layout.extend({
search: function (context) {
var term = context.ui.seriesSearch.val();
- console.log(term);
- context.collection.fetch({ data: $.param({ term: term }) });
+
+ if (term == "") {
+ context.collection.reset();
+ } else {
+ console.log(term);
+ context.collection.fetch({ data: $.param({ term: term }) });
+ }
+
+
},
});
\ No newline at end of file
diff --git a/NzbDrone.Web/_backboneApp/CassetteConfiguration.cs b/NzbDrone.Web/_backboneApp/CassetteConfiguration.cs
index 0af5cb438..0d2b54258 100644
--- a/NzbDrone.Web/_backboneApp/CassetteConfiguration.cs
+++ b/NzbDrone.Web/_backboneApp/CassetteConfiguration.cs
@@ -8,7 +8,6 @@ namespace NzbDrone.Web.Backbone.NzbDrone
public class CassetteBundleConfiguration : IConfiguration
{
public const string BASE_STYLE = "BASE_STYLE";
- public const string BACKBONE = "BACKBONE";
public const string NZBDRONE = "NZBDRONE";
internal const string FONTS = "FONTS";
@@ -28,7 +27,7 @@ namespace NzbDrone.Web.Backbone.NzbDrone
},
bundle => bundle.AddReference("/" + FONTS));
-
+ bundles.Add("~/_backboneApp/JsLibraries/backbone.js");
bundles.Add(NZBDRONE, new[]{
APP_PATH + "\\AddSeries\\AddSeriesLayout.js",
diff --git a/NzbDrone.Web/_backboneApp/app.js b/NzbDrone.Web/_backboneApp/app.js
index 489185678..24de3d2c4 100644
--- a/NzbDrone.Web/_backboneApp/app.js
+++ b/NzbDrone.Web/_backboneApp/app.js
@@ -1,7 +1,6 @@
///
///
///
-///
///
///
///