DirectorObjectForm: move check_command to main

fixes #13551
This commit is contained in:
Thomas Gelf 2016-12-13 16:57:05 +01:00
parent e207bb2bc9
commit e60fdb31b8
1 changed files with 2 additions and 1 deletions

View File

@ -1034,7 +1034,8 @@ abstract class DirectorObjectForm extends QuickForm
'multiOptions' => $this->optionalEnum($this->db->enumCheckcommands()), 'multiOptions' => $this->optionalEnum($this->db->enumCheckcommands()),
'class' => 'autosubmit', // This influences fields 'class' => 'autosubmit', // This influences fields
)); ));
$this->addToCheckExecutionDisplayGroup('check_command_id'); $this->getDisplayGroup('object_definition')
->addElement($this->getElement('check_command_id'));
$eventCommands = $this->db->enumEventcommands(); $eventCommands = $this->db->enumEventcommands();