mirror of
https://github.com/unraid/webgui.git
synced 2026-02-06 17:09:11 -06:00
Plugin system update
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user