From 3029e9dff2c38acfea0ee979b64f3bc64919bef9 Mon Sep 17 00:00:00 2001 From: bergware Date: Thu, 11 Aug 2022 13:24:01 +0200 Subject: [PATCH] Plugin system and docker update Minor code update --- plugins/dynamix.docker.manager/javascript/docker.js | 2 +- plugins/dynamix/include/DefaultPageLayout.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/dynamix.docker.manager/javascript/docker.js b/plugins/dynamix.docker.manager/javascript/docker.js index 9f46d52d3..e5486924b 100644 --- a/plugins/dynamix.docker.manager/javascript/docker.js +++ b/plugins/dynamix.docker.manager/javascript/docker.js @@ -102,7 +102,7 @@ function editContainer(container, template) { } function updateContainer(container) { swal({ - title:_('Are you sure?'),text:_('Update container')+': '+container, type:'warning',showCancelButton:true,closeOnConfirm:false,confirmButtonText:_('Yes, update it!'),cancelButtonText:_('Cancel') + title:_('Are you sure?'),text:_('Update container')+': '+container, type:'warning',html:true,showCancelButton:true,closeOnConfirm:false,confirmButtonText:_('Yes, update it!'),cancelButtonText:_('Cancel') },function(){ openDocker('update_container '+encodeURIComponent(container),_('Updating the container'),'','loadlist'); }); diff --git a/plugins/dynamix/include/DefaultPageLayout.php b/plugins/dynamix/include/DefaultPageLayout.php index d08438e6e..5e34bb079 100644 --- a/plugins/dynamix/include/DefaultPageLayout.php +++ b/plugins/dynamix/include/DefaultPageLayout.php @@ -237,7 +237,7 @@ function openWindow(cmd,title,height,width) { } function openTerminal(tag,name,more) { if (/MSIE|Edge/.test(navigator.userAgent)) { - swal({title:"_(Unsupported Feature)_",text:"_(Sorry, this feature is not supported by MSIE/Edge)_.
_(Please try a different browser)_",html:true,type:'error',confirmButtonText:"_(Ok)_"}); + swal({title:"_(Unsupported Feature)_",text:"_(Sorry, this feature is not supported by MSIE/Edge)_.
_(Please try a different browser)_",type:'error',html:true,confirmButtonText:"_(Ok)_"}); return; } // open terminal window (run in background)