Explorar o código

change test to slider for disk create

andre %!s(int64=4) %!d(string=hai) anos
pai
achega
61be06f823

+ 1 - 1
app/UI/Disk/Buttons/DeleteButton.php

@@ -29,7 +29,7 @@ class DeleteButton extends ButtonDataTableModalAction implements ClientArea
     public function initContent()
     public function initContent()
     {
     {
         $this->initIds('deleteDiskButton');
         $this->initIds('deleteDiskButton');
-        $this->setDisableByColumnValue("name", true);
+        $this->setDisableByColumnValue("master", true);
         $this->switchToRemoveBtn();
         $this->switchToRemoveBtn();
         $this->initLoadModalAction(new DeleteModal());
         $this->initLoadModalAction(new DeleteModal());
     }
     }

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

@@ -31,5 +31,14 @@ class UpdateButton extends ButtonDataTableModalAction implements ClientArea
         parent::initContent();
         parent::initContent();
         $this->initIds('updateDiskButton');
         $this->initIds('updateDiskButton');
         $this->initLoadModalAction(new UpdateModal());
         $this->initLoadModalAction(new UpdateModal());
+
+        logModuleCall(
+            'proxmoxCloud',
+            __FUNCTION__,
+            $this,
+            'Debug',
+            $vm->getHtmlAttributes()
+        );
+
     }
     }
 }
 }