Sfoglia il codice sorgente

try to change edit action to console

andre 4 anni fa
parent
commit
d12fb1944f
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  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()
     {
-        $serviceUrl = new UrlServiceHelper();
+//        $serviceUrl = new UrlServiceHelper();
         foreach ($this->redirectParams as $key => $value)
         {
             $this->updateHtmlAttribute($key, $value);
@@ -102,7 +102,8 @@ class ManageButton extends ButtonDataTableModalAction implements ClientArea
                 __FUNCTION__,
                 $this->redirectParams,
                 'Debug',
-                $serviceUrl->getNoVncConsoleUrl()
+                ''
+//                $serviceUrl->getNoVncConsoleUrl()
             );
 
 //            $this->addHtmlAttribute("onclick", "window.open('{$serviceUrl->getNoVncConsoleUrl()}', '', 'width=900,height=700'); return false;");