diff --git a/plugins/dynamix/include/DefaultPageLayout.php b/plugins/dynamix/include/DefaultPageLayout.php index 4b6fbde26..652471270 100644 --- a/plugins/dynamix/include/DefaultPageLayout.php +++ b/plugins/dynamix/include/DefaultPageLayout.php @@ -274,7 +274,7 @@ function openPlugin(cmd,title,plg,func) { $.post('/webGui/include/StartCommand.php',{cmd:cmd+' nchan'},function(pid) { if (pid==0) return; nchan_plugins.start(); - swal({title:title,text:"

",html:true,animation:'none',confirmButtonText:""},function(){ + swal({title:title,text:"

",html:true,animation:'none',confirmButtonText:""},function(){ nchan_plugins.stop(); $('.sweet-alert').hide('fast').removeClass('nchan'); setTimeout(function(){bannerAlert("",cmd,plg,func);}); @@ -297,7 +297,7 @@ function openChanges(cmd,title,nchan) { $.post('/webGui/include/StartCommand.php',{cmd:cmd+' nchan'},function(pid) { if (pid==0) return; startStopNchan('start',nchan); - swal({title:title,text:"

",html:true,animation:'none',confirmButtonText:""},function(){ + swal({title:title,text:"

",html:true,animation:'none',confirmButtonText:""},function(){ startStopNchan('stop',nchan); $('.sweet-alert').hide('fast').removeClass('nchan'); });