Selaa lähdekoodia

try to use console button

andre 4 vuotta sitten
vanhempi
commit
6308ec440c
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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',