1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/dashboard-ui/scripts/wizardagreement.js
Luke Pulverenti ce737e9d7b sync updates
2015-01-05 22:25:23 -05:00

22 lines
No EOL
387 B
JavaScript

(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);