Browse Source

try to change edit action to console

andre 4 years ago
parent
commit
21ccc7c893
1 changed files with 2 additions and 4 deletions
  1. 2 4
      app/UI/Vms/Buttons/ManageButton.php

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

@@ -40,17 +40,15 @@ class ManageButton extends ButtonDataTableModalAction implements ClientArea
 
     public function afterInitContent()
     {
-        
         logModuleCall(
             'proxmoxCloud',
             __FUNCTION__,
             $this->parseCustomParams(),
             'Debug',
-            $this->htmlAttributes
+            ''
         );
-
         $this->htmlAttributes['@click.middle'] = 'redirect($event, ' . $this->parseCustomParams() . ', true)';
-        $this->htmlAttributes['@click'] = 'redirect($event, ' . $this->getNoVncConsoleUrl() . ')';
+        $this->htmlAttributes['@click'] = 'redirect($event, ' . $this->parseCustomParams() . ')';
     }
 
     public function setRawUrl($url)