BpConfigForm: name should be readonly on edit

This commit is contained in:
Thomas Gelf 2015-03-16 13:17:52 +01:00
parent 94a22c23c3
commit e6161837a2

View file

@ -82,6 +82,7 @@ class BpConfigForm extends Form
{
$this->config = $config;
$this->getElement('name')->setValue($config->getName());
$this->getElement('name')->setAttrib('readonly', true);
if ($config->hasTitle()) {
$this->getElement('title')->setValue($config->getTitle());