lazy load scripts

This commit is contained in:
Luke Pulverenti 2015-05-17 15:50:37 -04:00
parent 0a670a4635
commit c5802fc5ab
38 changed files with 224 additions and 162 deletions

View file

@ -88,7 +88,7 @@
$('.alphabetPicker', page).alphaValue(query.NameStartsWithOrGreater);
}
$(document).on('pageinit', "#moviePeoplePage", function () {
$(document).on('pageinitdepends', "#moviePeoplePage", function () {
var page = this;
@ -140,7 +140,7 @@
reloadItems(page);
});
}).on('pagebeforeshow', "#moviePeoplePage", function () {
}).on('pageshown', "#moviePeoplePage", function () {
query.ParentId = LibraryMenu.getTopParentId();
@ -156,8 +156,6 @@
reloadItems(this);
}).on('pageshow', "#moviePeoplePage", function () {
updateFilterControls(this);
});