Browse Source

try to change edit action to console

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

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

@@ -50,7 +50,7 @@ class ManageButton extends ButtonDataTableModalAction implements ClientArea
         );
         );
 
 
         $this->htmlAttributes['@click.middle'] = 'redirect($event, ' . $this->parseCustomParams() . ', true)';
         $this->htmlAttributes['@click.middle'] = 'redirect($event, ' . $this->parseCustomParams() . ', true)';
-        $this->htmlAttributes['@click'] = 'redirect($event, ' . $this->parseCustomParams() . ')';
+        $this->htmlAttributes['@click'] = 'redirect($event, ' . $this->getNoVncConsoleUrl() . ')';
     }
     }
 
 
     public function setRawUrl($url)
     public function setRawUrl($url)