From b2fcdf1d32069cc76d95f3d39025e9733844a965 Mon Sep 17 00:00:00 2001 From: bergware Date: Sun, 15 Oct 2023 16:05:57 +0200 Subject: [PATCH] VM menu: add space in text --- emhttp/plugins/dynamix.vm.manager/javascript/vmmanager.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/emhttp/plugins/dynamix.vm.manager/javascript/vmmanager.js b/emhttp/plugins/dynamix.vm.manager/javascript/vmmanager.js index 570b5b85a..588cc6d11 100644 --- a/emhttp/plugins/dynamix.vm.manager/javascript/vmmanager.js +++ b/emhttp/plugins/dynamix.vm.manager/javascript/vmmanager.js @@ -69,14 +69,14 @@ function addVMContext(name, uuid, template, state, vmrcurl, vmrcprotocol, log, c if (x!=-1) path = path.substring(0,x); if (vmrcurl !== "" && state == "running") { if (console == "web" || console == "both") { - var vmrctext=_("VM Console") + "(" + vmrcprotocol + ")" ; + var vmrctext=_("VM Console") + " (" + vmrcprotocol + ")" ; opts.push({text:vmrctext, icon:"fa-desktop", action:function(e) { e.preventDefault(); window.open(vmrcurl, '_blank', 'scrollbars=yes,resizable=yes'); }}); } if (console == "remote" || console == "both") { - opts.push({text:_("VM remote-viewer")+ "(" + vmrcprotocol + ")" , icon:"fa-desktop", action:function(e) { + opts.push({text:_("VM remote-viewer")+ " (" + vmrcprotocol + ")" , icon:"fa-desktop", action:function(e) { e.preventDefault(); ajaxVMDispatchconsoleRV({action:"domain-consoleRV", uuid:uuid, vmrcurl:vmrcurl}, "loadlist") ; }});