andre 4 лет назад
Родитель
Сommit
e3af22bee3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/UI/Vms/Buttons/ConsoleButton.php

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

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