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

Added 3D filter to movies page

This commit is contained in:
Luke Pulverenti 2013-04-07 09:34:46 -04:00
parent 1613e7f451
commit c2c3297614
5 changed files with 15 additions and 3 deletions

View file

@ -207,6 +207,13 @@
reloadItems(page);
});
$('#chk3D', this).on('change', function () {
query.VideoFormats = this.checked ? this.getAttribute('data-filter') : null;
reloadItems(page);
});
}).on('pagebeforeshow', "#moviesPage", function() {
reloadItems(this);
@ -246,6 +253,8 @@
}).checkboxradio('refresh');
$('#selectView', this).val(view).selectmenu('refresh');
$('#chk3D', this).checked(query.VideoFormats == "Digital3D,Sbs3D").checkboxradio('refresh');
});
})(jQuery, document);