Browse Source

combined script references

Luke Pulverenti 12 years ago
parent
commit
e76a6255b8
1 changed files with 3 additions and 2 deletions
  1. 3 2
      MediaBrowser.WebDashboard/Api/DashboardService.cs

+ 3 - 2
MediaBrowser.WebDashboard/Api/DashboardService.cs

@@ -424,8 +424,6 @@ namespace MediaBrowser.WebDashboard.Api
                             {
                                 "http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js", 
                                 "http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js",
-                                "thirdparty/video-js-3.2.0/video.min.js",
-                                "thirdparty/autoNumeric.js",
                                 "scripts/all.js" + versionString
             };
 
@@ -510,6 +508,9 @@ namespace MediaBrowser.WebDashboard.Api
 
             var newLineBytes = Encoding.UTF8.GetBytes(Environment.NewLine);
 
+            await AppendResource(memoryStream, "thirdparty/video-js-3.2.0/video.min.js", newLineBytes).ConfigureAwait(false);
+            await AppendResource(memoryStream, "thirdparty/autoNumeric.js", newLineBytes).ConfigureAwait(false);
+
             await AppendResource(assembly, memoryStream, "MediaBrowser.WebDashboard.ApiClient.js", newLineBytes).ConfigureAwait(false);
 
             foreach (var file in scriptFiles)