Set focus to comment field for acknowledgements, downtimes and comments
refs #13535
This commit is contained in:
parent
80d3abed9d
commit
9e26359c62
|
@ -54,7 +54,8 @@ class AcknowledgeProblemCommandForm extends ObjectsCommandForm
|
|||
'If you work with other administrators, you may find it useful to share information about the'
|
||||
. ' the host or service that is having problems. Make sure you enter a brief description of'
|
||||
. ' what you are doing.'
|
||||
)
|
||||
),
|
||||
'attribs' => array('class' => 'autofocus')
|
||||
)
|
||||
),
|
||||
array(
|
||||
|
|
|
@ -45,7 +45,8 @@ class AddCommentCommandForm extends ObjectsCommandForm
|
|||
'If you work with other administrators, you may find it useful to share information about the'
|
||||
. ' the host or service that is having problems. Make sure you enter a brief description of'
|
||||
. ' what you are doing.'
|
||||
)
|
||||
),
|
||||
'attribs' => array('class' => 'autofocus')
|
||||
)
|
||||
);
|
||||
if (! $this->getBackend()->isIcinga2()) {
|
||||
|
|
|
@ -67,7 +67,8 @@ class ScheduleServiceDowntimeCommandForm extends ObjectsCommandForm
|
|||
'If you work with other administrators, you may find it useful to share information about the'
|
||||
. ' the host or service that is having problems. Make sure you enter a brief description of'
|
||||
. ' what you are doing.'
|
||||
)
|
||||
),
|
||||
'attribs' => array('class' => 'autofocus')
|
||||
)
|
||||
),
|
||||
array(
|
||||
|
|
Loading…
Reference in New Issue