Plugin system update

This commit is contained in:
bergware
2022-06-24 23:06:38 +02:00
parent 1cfcd2cc7e
commit 749908cd1a

View File

@@ -279,7 +279,7 @@ function openAlert(cmd,title,func) {
changes.start();
swal({title:title+'<hr>',text:"<pre id='body'></pre><hr>",html:true,animation:'none',showCancelButton:true,confirmButtonText:"<?=_('Proceed')?>",cancelButtonText:"<?=_('Cancel')?>"},function(proceed){
changes.stop();
$('.sweet-alert').hide('slow').removeClass('nchan');
$('.sweet-alert').removeClass('nchan');
if (proceed) setTimeout(func+'()',250);
});
$('.sweet-alert').addClass('nchan');