chg: [events] Make sure the fetched form is hidden

pull/6308/head
mokaddem 2020-09-10 15:28:43 +02:00
parent 0455b16f70
commit 9cf42988fb
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@
var url = '<?= $baseurl ?>/events/delete/' + id
if (confirm(message)) {
fetchFormDataAjax(url, function(formData) {
$('body').append($('<div id="temp"/>').html(formData));
$('body').append($('<div id="temp" class="hidden"/>').html(formData));
$('#temp form').submit()
})
}