Explorar el Código

new info button

andre hace 5 meses
padre
commit
b007eea37d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/UI/Client/Setting/Pages/Settings.php

+ 1 - 1
app/UI/Client/Setting/Pages/Settings.php

@@ -98,7 +98,7 @@ class Settings extends DataTable implements ClientArea
     {
         $status = self::STATUS_LABEL[$row[$key]] ? self::STATUS_LABEL[$row[$key]] : self::STATUS_LABEL['default'];
         $field = new EnabledField();
-        $this->addHtmlAttribute('disabled', true);
+        $field->addHtmlAttribute('display', 'none');
         $field->setRawType($status);
         $field->setRawTitle($label);