Explorar el Código

try to use console button

andre hace 4 años
padre
commit
6f11632088
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/UI/Vms/Buttons/ConsoleButton.php

+ 1 - 1
app/UI/Vms/Buttons/ConsoleButton.php

@@ -43,7 +43,7 @@ class ConsoleButton extends ButtonDataTableModalAction implements ClientArea
     public function afterInitContent()
     {
         $this->serviceUrl = new UrlServiceHelper();
-//        $this->htmlAttributes['@click'] = "window.open('{$serviceUrl->getNoVncConsoleUrl()}', '', 'width=900,height=700'); return false;";
+        $this->htmlAttributes['@click'] = "window.open('{$this->serviceUrl->getNoVncConsoleUrl()}', '', 'width=900,height=700'); return false;";
     }
 
     public function setRawUrl($url)