소스 검색

use local jquery

Luke Pulverenti 11 년 전
부모
커밋
558a365e38
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      MediaBrowser.WebDashboard/Api/DashboardService.cs
  2. 3 0
      MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj

+ 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>