Browse Source

use local jquery

Luke Pulverenti 11 years ago
parent
commit
558a365e38

+ 1 - 1
MediaBrowser.WebDashboard/Api/DashboardService.cs

@@ -440,7 +440,7 @@ namespace MediaBrowser.WebDashboard.Api
 
             var files = new[]
                             {
-                                "http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js", 
+                                "thirdparty/jquery.min.js", 
                                 "http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js",
                                 "scripts/all.js" + versionString,
                                 "thirdparty/jstree1.0/jquery.jstree.js"

+ 3 - 0
MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj

@@ -409,6 +409,9 @@
     <Content Include="dashboard-ui\livetvseriestimers.html">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
+    <Content Include="dashboard-ui\thirdparty\jquery.min.js">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
     <Content Include="dashboard-ui\tvupcoming.html">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>