소스 검색

try to fix the detailed view

andre 4 년 전
부모
커밋
a25bca500d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/UI/Disk/Forms/UpdateForm.php

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

@@ -74,7 +74,7 @@ class UpdateForm extends BaseForm implements ClientArea
         {
             $field = new Switcher('backup');
             if ($this->diskID == 'scsi0') {
-                $field->addHtmlAttribute(':disabled', true);
+                $field->addClass('disabled');
             }
             $this->addField($field);
         }