lazy load scripts

This commit is contained in:
Luke Pulverenti 2015-05-17 15:50:37 -04:00
parent 337777afc9
commit 5a2c2c1b47
2 changed files with 3 additions and 9 deletions

View File

@ -590,7 +590,6 @@ namespace MediaBrowser.WebDashboard.Api
"librarysettings.js", "librarysettings.js",
"livetvchannel.js", "livetvchannel.js",
"livetvguide.js", "livetvguide.js",
"livetvitems.js",
"livetvnewrecording.js", "livetvnewrecording.js",
"livetvprogram.js", "livetvprogram.js",
"livetvrecording.js", "livetvrecording.js",
@ -607,12 +606,7 @@ namespace MediaBrowser.WebDashboard.Api
"metadataimagespage.js", "metadataimagespage.js",
"metadatasubtitles.js", "metadatasubtitles.js",
"metadatanfo.js", "metadatanfo.js",
"moviegenres.js",
"moviecollections.js", "moviecollections.js",
"movies.js",
"moviepeople.js",
"moviestudios.js",
"movietrailers.js",
"mypreferencesdisplay.js", "mypreferencesdisplay.js",
"mypreferenceslanguages.js", "mypreferenceslanguages.js",
@ -622,7 +616,6 @@ namespace MediaBrowser.WebDashboard.Api
"notificationlist.js", "notificationlist.js",
"notificationsetting.js", "notificationsetting.js",
"notificationsettings.js", "notificationsettings.js",
"photos.js",
"playlists.js", "playlists.js",
"playlistedit.js", "playlistedit.js",
@ -633,7 +626,6 @@ namespace MediaBrowser.WebDashboard.Api
"scheduledtaskspage.js", "scheduledtaskspage.js",
"search.js", "search.js",
"selectserver.js", "selectserver.js",
"songs.js",
"streamingsettings.js", "streamingsettings.js",
"supporterkeypage.js", "supporterkeypage.js",
"supporterpage.js", "supporterpage.js",
@ -641,7 +633,6 @@ namespace MediaBrowser.WebDashboard.Api
"syncsettings.js", "syncsettings.js",
"thememediaplayer.js", "thememediaplayer.js",
"tvlatest.js", "tvlatest.js",
"tvshows.js",
"useredit.js", "useredit.js",
"usernew.js", "usernew.js",
"myprofile.js", "myprofile.js",

View File

@ -156,6 +156,9 @@
<Content Include="dashboard-ui\scripts\photos.js"> <Content Include="dashboard-ui\scripts\photos.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>
<Content Include="dashboard-ui\scripts\queryfilters.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\scripts\registrationservices.js"> <Content Include="dashboard-ui\scripts\registrationservices.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content> </Content>