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

update startup wizard

This commit is contained in:
Luke Pulverenti 2015-07-30 10:34:46 -04:00
parent 9074b4bea3
commit 20b01a80b3
28 changed files with 447 additions and 121 deletions

View file

@ -2,9 +2,9 @@
function onSubmit() {
var page = $(this).parents('.page');
var page = $(this).parents('.page')[0];
if ($('#chkAccept', page).checked()) {
if (page.querySelector('.chkAccept').checked) {
Dashboard.navigate('wizardfinish.html');
} else {
@ -17,9 +17,9 @@
return false;
}
$(document).on('pageinitdepends', '#wizardAgreementPage', function(){
$(document).on('pageinitdepends', '#wizardAgreementPage', function () {
$('.wizardAgreementForm').off('submit', onSubmit).on('submit', onSubmit);
$('.wizardAgreementForm').off('submit', onSubmit).on('submit', onSubmit);
});
})(window, jQuery);