|
|
@@ -43,7 +43,16 @@ class ConsoleButton extends ButtonDataTableModalAction implements ClientArea
|
|
|
public function afterInitContent()
|
|
|
{
|
|
|
$this->serviceUrl = new UrlServiceHelper();
|
|
|
- $this->vmModel = \ModulesGarden\ProxmoxAddon\Core\Helper\sl('Vm')->getVmModel();
|
|
|
+
|
|
|
+ logModuleCall(
|
|
|
+ 'proxmoxCloud',
|
|
|
+ __FUNCTION__,
|
|
|
+ $this,
|
|
|
+ 'Debug',
|
|
|
+ $this->serviceUrl
|
|
|
+ );
|
|
|
+
|
|
|
+// $this->vmModel = \ModulesGarden\ProxmoxAddon\Core\Helper\sl('Vm')->getVmModel();
|
|
|
|
|
|
// $this->htmlAttributes['@click'] = "window.open('{$this->serviceUrl->getNoVncConsoleUrl()}', '', 'width=900,height=700'); return false;";
|
|
|
}
|