mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
sync updates
This commit is contained in:
parent
3105920c99
commit
ce737e9d7b
6 changed files with 72 additions and 5 deletions
22
dashboard-ui/scripts/wizardagreement.js
Normal file
22
dashboard-ui/scripts/wizardagreement.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
(function (window, $) {
|
||||
|
||||
function onSubmit(page) {
|
||||
|
||||
if ($('#chkAccept', page).checked()) {
|
||||
Dashboard.navigate('wizardfinish.html');
|
||||
}
|
||||
}
|
||||
|
||||
window.WizardAgreementPage = {
|
||||
|
||||
onSubmit: function () {
|
||||
|
||||
var page = $(this).parents('.page');
|
||||
|
||||
onSubmit(page);
|
||||
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
})(window, jQuery);
|
Loading…
Add table
Add a link
Reference in a new issue