Feedback form: place SUBMIT button next to CANCEL button

This commit is contained in:
bergware
2024-02-03 13:10:57 +01:00
parent 099559e949
commit d70bc5e9e8
2 changed files with 5 additions and 4 deletions
@@ -388,6 +388,7 @@ function openChanges(cmd,title,nchan,button=0) {
$('div.spinner.fixed').hide();
swal({title:title,text:"<pre id='swalbody'></pre><hr>",html:true,animation:'none',showConfirmButton:button!=0,confirmButtonText:"<?=_('Close')?>"},function(close){
$('.sweet-alert').hide('fast').removeClass('nchan');
$('#submit-button').remove();
});
$('.sweet-alert').addClass('nchan');
$('pre#swalbody').html(data);