DatalistentryController: temporary fix
The requested field is not available at the time given
This commit is contained in:
parent
5ed1059841
commit
56072895a5
|
@ -51,7 +51,10 @@ class Director_DatalistentryController extends ActionController
|
|||
|
||||
if ($edit) {
|
||||
$form->loadObject(array('list_id' => $listId, 'entry_name' => $entryName));
|
||||
$form->getElement('entry_name')->setAttribs(array('readonly' => true));
|
||||
if ($el = $form->getElement('entry_name')) {
|
||||
// TODO: Doesn't work without setup
|
||||
$el->setAttribs(array('readonly' => true));
|
||||
}
|
||||
}
|
||||
|
||||
$form->handleRequest();
|
||||
|
|
Loading…
Reference in New Issue