Browse Source

change test to slider for disk create

andre 4 years ago
parent
commit
60ef150110
2 changed files with 1 additions and 2 deletions
  1. 0 1
      app/UI/Disk/Buttons/UpdateButton.php
  2. 1 1
      app/UI/Disk/Forms/UpdateForm.php

+ 0 - 1
app/UI/Disk/Buttons/UpdateButton.php

@@ -32,5 +32,4 @@ class UpdateButton extends ButtonDataTableModalAction implements ClientArea
         $this->initIds('updateDiskButton');
         $this->initIds('updateDiskButton');
         $this->initLoadModalAction(new UpdateModal());
         $this->initLoadModalAction(new UpdateModal());
     }
     }
-
 }
 }

+ 1 - 1
app/UI/Disk/Forms/UpdateForm.php

@@ -58,7 +58,7 @@ class UpdateForm extends BaseForm implements ClientArea
         $this->resourceManager = new ResourceManager();
         $this->resourceManager = new ResourceManager();
 
 
         $vm = \ModulesGarden\ProxmoxAddon\Core\Helper\sl('Vm')->getVm();
         $vm = \ModulesGarden\ProxmoxAddon\Core\Helper\sl('Vm')->getVm();
-        $hdd = $vm->findHardDiskById($this->getRequestValue('actionElementId'));
+//        $hdd = $vm->findHardDiskById($this->getRequestValue('actionElementId'));
 
 
         logModuleCall(
         logModuleCall(
             'proxmoxCloud',
             'proxmoxCloud',