add series lookup doesn't send a request to server with a blank filter.

This commit is contained in:
Keivan Beigi
2013-01-23 17:51:25 -08:00
committed by kay.one
parent ebadd6b1d5
commit ae61150b84
4 changed files with 18 additions and 5 deletions
@@ -8,7 +8,6 @@ namespace NzbDrone.Web.Backbone.NzbDrone
public class CassetteBundleConfiguration : IConfiguration<BundleCollection>
{
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<ScriptBundle>("~/_backboneApp/JsLibraries/backbone.js");
bundles.Add<ScriptBundle>(NZBDRONE, new[]{
APP_PATH + "\\AddSeries\\AddSeriesLayout.js",