Browse Source

Enabled lazy load of poster images

This should make initial load of the movies page a little more
responsive for larger libraries. This can be used on any page loading
images.
Tim Hobbs 11 years ago
parent
commit
655c7ccd13

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

@@ -419,6 +419,7 @@ namespace MediaBrowser.WebDashboard.Api
                             {
                             {
                                 "scripts/all.js" + versionString,
                                 "scripts/all.js" + versionString,
                                 "thirdparty/jstree1.0/jquery.jstree.min.js",
                                 "thirdparty/jstree1.0/jquery.jstree.min.js",
+                                "thirdparty/jquery.unveil-custom.js",
                                 "https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"
                                 "https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"
             };
             };
 
 

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

@@ -653,6 +653,9 @@
     <Content Include="dashboard-ui\thirdparty\jquery-2.0.3.min.js">
     <Content Include="dashboard-ui\thirdparty\jquery-2.0.3.min.js">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
     </Content>
+    <Content Include="dashboard-ui\thirdparty\jquery.unveil-custom.js">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
     <Content Include="dashboard-ui\thirdparty\jquerymobile-1.4.2\images\ajax-loader.gif">
     <Content Include="dashboard-ui\thirdparty\jquerymobile-1.4.2\images\ajax-loader.gif">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
     </Content>