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

@ -72,7 +72,7 @@
$('#selectPageSize', page).val(query.Limit).selectmenu('refresh');
}
$(document).on('pageinit', "#movieStudiosPage", function () {
$(document).on('pageinitdepends', "#movieStudiosPage", function () {
var page = this;
@ -99,7 +99,7 @@
reloadItems(page);
});
}).on('pagebeforeshow', "#movieStudiosPage", function () {
}).on('pageshown', "#movieStudiosPage", function () {
query.ParentId = LibraryMenu.getTopParentId();
@ -115,8 +115,6 @@
reloadItems(this);
}).on('pageshow', "#movieStudiosPage", function () {
updateFilterControls(this);
});