|
|
@@ -39,7 +39,11 @@ class UpdateForm extends BaseForm implements ClientArea
|
|
|
|
|
|
public function initContent()
|
|
|
{
|
|
|
- parent::initContent();
|
|
|
+ $this->initIds('updateDiskForm');
|
|
|
+ $this->setFormType('update');
|
|
|
+ $this->setProvider(new DiskProvider());
|
|
|
+ $this->initFields();
|
|
|
+ $this->loadDataToForm();
|
|
|
|
|
|
logModuleCall(
|
|
|
'proxmoxCloud',
|
|
|
@@ -49,11 +53,6 @@ class UpdateForm extends BaseForm implements ClientArea
|
|
|
parent::getFormData()['size']
|
|
|
);
|
|
|
|
|
|
- $this->initIds('updateDiskForm');
|
|
|
- $this->setFormType('update');
|
|
|
- $this->setProvider(new DiskProvider());
|
|
|
- $this->initFields();
|
|
|
- $this->loadDataToForm();
|
|
|
}
|
|
|
|
|
|
public function getAllowedActions()
|