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

remove bundled scripts

This commit is contained in:
Luke 2015-06-06 22:51:04 -04:00
parent 90ea727998
commit dfd651131a
8 changed files with 48 additions and 52 deletions

View file

@ -1,6 +1,8 @@
(function (window, $) {
function onSubmit(page) {
function onSubmit() {
var page = $(this).parents('.page');
if ($('#chkAccept', page).checked()) {
Dashboard.navigate('wizardfinish.html');
@ -11,18 +13,13 @@
title: ''
});
}
return false;
}
window.WizardAgreementPage = {
$(document).on('pageinitdepends', '#wizardAgreementPage', function(){
onSubmit: function () {
var page = $(this).parents('.page');
onSubmit(page);
return false;
}
};
$('.wizardAgreementForm').off('submit', onSubmit).on('submit', onSubmit);
});
})(window, jQuery);