Explorar o código

try to disable delete button on root disk

andre %!s(int64=4) %!d(string=hai) anos
pai
achega
ca05999662
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      app/UI/Disk/Buttons/DeleteButton.php

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

@@ -28,6 +28,7 @@ class DeleteButton extends ButtonDataTableModalAction implements ClientArea
 
 
     public function initContent()
     public function initContent()
     {
     {
+        parent::initContent();
         $this->initIds('deleteDiskButton');
         $this->initIds('deleteDiskButton');
         $this->setDisableByColumnValue("master", true);
         $this->setDisableByColumnValue("master", true);
         $this->switchToRemoveBtn();
         $this->switchToRemoveBtn();