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

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

@@ -32,8 +32,8 @@ class ConsoleButton extends ButtonDataTableModalAction implements ClientArea
     {
     {
         $this->initIds('consoleButton');
         $this->initIds('consoleButton');
         $this->setDisableByColumnValue("vmid", 0);
         $this->setDisableByColumnValue("vmid", 0);
-        $target = "clientarea.php?action=productdetails&id={$this->getWhmcsParamByKey('serviceid')}&modop=custom&a=management&mg-page=console&mg-action=novnc";
-        $url = "window.open('" . $target . "', '', 'width=900,height=700'); return false;";
+        $url = "clientarea.php?action=productdetails&id={$this->getWhmcsParamByKey('serviceid')}&modop=custom&a=management&mg-page=console&mg-action=novnc";
+//        $url = "window.open('" . $target . "', '', 'width=900,height=700'); return false;";
 //        $url ="clientarea.php?action=productdetails&id={$this->getWhmcsParamByKey('serviceid')}&modop=custom&a=management&mg-page=vm";
 //        $url ="clientarea.php?action=productdetails&id={$this->getWhmcsParamByKey('serviceid')}&modop=custom&a=management&mg-page=vm";
         $this->setRawUrl($url)
         $this->setRawUrl($url)
             ->setRedirectParams(['vm' => ':id']);
             ->setRedirectParams(['vm' => ':id']);