1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

progress on movies home page

This commit is contained in:
Luke Pulverenti 2013-04-01 11:59:56 -04:00
parent 89472754ad
commit ae312524dd
7 changed files with 103 additions and 45 deletions

View file

@ -1,11 +1,11 @@
var IndexPage = {
(function ($, document) {
onPageShow: function () {
IndexPage.loadLibrary(Dashboard.getCurrentUserId(), this);
},
$(document).on('pageshow', "#indexPage", function () {
loadLibrary: function (userId, page) {
var page = this;
var userId = Dashboard.getCurrentUserId();
if (!userId) {
return;
}
@ -25,7 +25,6 @@
}));
});
}
};
});
$(document).on('pageshow', "#indexPage", IndexPage.onPageShow);
})(jQuery, document);