Преглед на файлове

try to fix the detailed view

andre преди 4 години
родител
ревизия
d7f6b0d1ff
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/UI/Disk/Buttons/BackupSwitchButton.php

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

@@ -37,7 +37,7 @@ class BackupSwitchButton extends ButtonSwitchAjax implements ClientArea
     public function initContent()
     {
         parent::initContent();
-        $this->addHtmlAttribute(':disabled', 'dataRow.master == true');
+        $this->addHtmlAttribute(':hidden', 'dataRow.master == true');
         if (!$this->configuration()->isPermissionAdditionalDiskBackup())
         {
 //            $this->htmlAttributes["disabled"] = "";