From a5151575fef30b9752b5cc07fc2b8333fcd0c9db Mon Sep 17 00:00:00 2001 From: bergware Date: Sat, 25 Jun 2022 09:02:47 +0200 Subject: [PATCH] Plugin system update --- plugins/dynamix/include/DefaultPageLayout.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/dynamix/include/DefaultPageLayout.php b/plugins/dynamix/include/DefaultPageLayout.php index 77d86ab8d..8845ff1b6 100644 --- a/plugins/dynamix/include/DefaultPageLayout.php +++ b/plugins/dynamix/include/DefaultPageLayout.php @@ -253,7 +253,7 @@ function openPlugin(cmd,title,plg,func) { plugins.start(); swal({title:title+'
',text:"

",html:true,animation:'none',confirmButtonText:""},function(){ plugins.stop(); - $('.sweet-alert').hide('slow').removeClass('nchan'); + $('.sweet-alert').hide('fast').removeClass('nchan'); $.post('/webGui/include/StartCommand.php',{cmd:cmd,pid:1},function(pid) { if (pid > 0) footerAlert(""); if (plg != null) setTimeout((func||'loadlist')+'("'+plg+'")',250); @@ -268,7 +268,7 @@ function openChanges(cmd,title) { changes.start(); swal({title:title+'
',text:"

",html:true,animation:'none',confirmButtonText:""},function(){ changes.stop(); - $('.sweet-alert').hide('slow').removeClass('nchan'); + $('.sweet-alert').hide('fast').removeClass('nchan'); }); $('.sweet-alert').addClass('nchan'); }); @@ -279,7 +279,7 @@ function openAlert(cmd,title,func) { changes.start(); swal({title:title+'
',text:"

",html:true,animation:'none',showCancelButton:true,confirmButtonText:"",cancelButtonText:""},function(proceed){ changes.stop(); - $('.sweet-alert').hide('slow').removeClass('nchan'); + $('.sweet-alert').hide('fast').removeClass('nchan'); if (proceed) setTimeout(func+'()',750); }); $('.sweet-alert').addClass('nchan');