OpenXE/classes/Modules/ReceiptPayment/www/js/receiptpayment.js
2021-05-21 08:49:41 +02:00

39 lines
999 B
JavaScript

var ReceiptPayment = function ($) {
"use strict";
var me = {
init: function () {
if ($('#challengepopup').length) {
$('#challengepopup').dialog(
{
modal: true,
autoOpen: true,
minWidth: 940,
title:'',
buttons: {
OK: function()
{
$('#challengepopupfrm').trigger('submit');
},
ABBRECHEN: function() {
$(this).dialog('close');
}
},
close: function(event, ui){
}
});
}
}
};
return {
init: me.init
};
}(jQuery);
$(document).on('ready',function() {
ReceiptPayment.init();
});