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

update movie tabs

This commit is contained in:
Luke Pulverenti 2016-04-03 14:47:49 -04:00
parent 98fbc2497c
commit 746135c2f7
8 changed files with 651 additions and 662 deletions

View file

@ -187,17 +187,20 @@
});
}
window.MoviesPage.initTrailerTab = function (page, tabContent) {
return function (view, params, tabContent) {
initPage(page, tabContent);
};
var self = this;
window.MoviesPage.renderTrailerTab = function (page, tabContent) {
self.initTab = function () {
initPage(view, tabContent);
};
self.renderTab = function () {
if (LibraryBrowser.needsRefresh(tabContent)) {
reloadItems(tabContent);
updateFilterControls(tabContent);
}
};
};
});