Ver código fonte

try to use console button

andre 4 anos atrás
pai
commit
7826cdfac8
1 arquivos alterados com 2 adições e 2 exclusões
  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',