From ca7f4260d7c97572e88a7081b1f3758fabb8e30e Mon Sep 17 00:00:00 2001 From: bergware Date: Tue, 20 Mar 2018 17:39:04 +0100 Subject: [PATCH] Fixed wrong cpu references in popup window in VM list --- plugins/dynamix.vm.manager/VMMachines.page | 4 ++-- plugins/dynamix.vm.manager/include/VMMachines.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/dynamix.vm.manager/VMMachines.page b/plugins/dynamix.vm.manager/VMMachines.page index ef262d3ec..ea60e61b6 100644 --- a/plugins/dynamix.vm.manager/VMMachines.page +++ b/plugins/dynamix.vm.manager/VMMachines.page @@ -149,10 +149,10 @@ function loadlist() { resize(); $(window).bind('resize',function(){resize(true);}); -get_domain_by_name($vm); $uuid = $lv->domain_get_uuid($res); -?> $('.vcpu').tooltipster({ +?> $('.vcpu-').tooltipster({ trigger:'custom', triggerOpen:{mouseenter:true,click:true,touchstart:true}, contentAsHTML:true, diff --git a/plugins/dynamix.vm.manager/include/VMMachines.php b/plugins/dynamix.vm.manager/include/VMMachines.php index a2592f7e7..2ea6024a6 100644 --- a/plugins/dynamix.vm.manager/include/VMMachines.php +++ b/plugins/dynamix.vm.manager/include/VMMachines.php @@ -84,7 +84,7 @@ foreach ($vms as $vm) { echo "".renderVMContentIcon($uuid, $vm, $vmicon, $state).""; echo "$vm"; echo "$desc"; - echo "$vcpu"; + echo "$vcpu"; echo "$mem"; echo "$disks"; echo "$graphics";