소스 검색

try to change edit action to console

andre 4 년 전
부모
커밋
d12fb1944f
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      app/UI/Vms/Buttons/ManageButton.php

+ 3 - 2
app/UI/Vms/Buttons/ManageButton.php

@@ -92,7 +92,7 @@ class ManageButton extends ButtonDataTableModalAction implements ClientArea
 
 
     protected function updateHtmlAttributesByRedirectParams()
     protected function updateHtmlAttributesByRedirectParams()
     {
     {
-        $serviceUrl = new UrlServiceHelper();
+//        $serviceUrl = new UrlServiceHelper();
         foreach ($this->redirectParams as $key => $value)
         foreach ($this->redirectParams as $key => $value)
         {
         {
             $this->updateHtmlAttribute($key, $value);
             $this->updateHtmlAttribute($key, $value);
@@ -102,7 +102,8 @@ class ManageButton extends ButtonDataTableModalAction implements ClientArea
                 __FUNCTION__,
                 __FUNCTION__,
                 $this->redirectParams,
                 $this->redirectParams,
                 'Debug',
                 'Debug',
-                $serviceUrl->getNoVncConsoleUrl()
+                ''
+//                $serviceUrl->getNoVncConsoleUrl()
             );
             );
 
 
 //            $this->addHtmlAttribute("onclick", "window.open('{$serviceUrl->getNoVncConsoleUrl()}', '', 'width=900,height=700'); return false;");
 //            $this->addHtmlAttribute("onclick", "window.open('{$serviceUrl->getNoVncConsoleUrl()}', '', 'width=900,height=700'); return false;");