Quellcode durchsuchen

try to use console button

andre vor 4 Jahren
Ursprung
Commit
16ed8a0ffc
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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()
     {
-        $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(
             'proxmoxCloud',