Browse Source

try to use console button

andre 4 years ago
parent
commit
16ed8a0ffc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/UI/Vms/Buttons/ConsoleButton.php

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

@@ -41,8 +41,8 @@ class ConsoleButton extends ButtonDataTableModalAction implements ClientArea
 
 
     public function afterInitContent()
     public function afterInitContent()
     {
     {
-        $this->htmlAttributes['@click.middle'] = 'popup($event, ' . $this->parseCustomParams() . ',' . 'width=900,height=700' . ')';
-        $this->htmlAttributes['@click'] = 'popup($event, ' . $this->parseCustomParams() . ',' . 'width=900,height=700' . ')';
+        $this->htmlAttributes['@click.middle'] = 'popup($event, ' . $this->parseCustomParams() . ',' . '\'width=900,height=700\'' . ')';
+        $this->htmlAttributes['@click'] = 'popup($event, ' . $this->parseCustomParams() . ',' . '\'width=900,height=700\'' . ')';
 
 
         logModuleCall(
         logModuleCall(
             'proxmoxCloud',
             'proxmoxCloud',