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:
parent
9074b4bea3
commit
20b01a80b3
28 changed files with 447 additions and 121 deletions
|
@ -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);
|
Loading…
Add table
Add a link
Reference in a new issue