minify resources
This commit is contained in:
parent
8a6884abef
commit
661eeac16e
201 changed files with 203 additions and 52376 deletions
|
@ -1,26 +1 @@
|
|||
define(['jQuery'], function ($) {
|
||||
'use strict';
|
||||
|
||||
function onSubmit() {
|
||||
|
||||
var page = $(this).parents('.page')[0];
|
||||
|
||||
if (page.querySelector('.chkAccept').checked) {
|
||||
Dashboard.navigate('wizardfinish.html');
|
||||
} else {
|
||||
|
||||
Dashboard.alert({
|
||||
message: Globalize.translate('MessagePleaseAcceptTermsOfServiceBeforeContinuing'),
|
||||
title: ''
|
||||
});
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
$(document).on('pageinit', '#wizardAgreementPage', function () {
|
||||
|
||||
$('.wizardAgreementForm').off('submit', onSubmit).on('submit', onSubmit);
|
||||
});
|
||||
|
||||
});
|
||||
define(["jQuery"],function($){"use strict";function onSubmit(){var page=$(this).parents(".page")[0];return page.querySelector(".chkAccept").checked?Dashboard.navigate("wizardfinish.html"):Dashboard.alert({message:Globalize.translate("MessagePleaseAcceptTermsOfServiceBeforeContinuing"),title:""}),!1}$(document).on("pageinit","#wizardAgreementPage",function(){$(".wizardAgreementForm").off("submit",onSubmit).on("submit",onSubmit)})});
|
Loading…
Add table
Add a link
Reference in a new issue