Merge pull request #2733 from Icinga/feature/set-focus-to-comment-field-for-comments-13535
Set focus to comment field for acknowledgements, downtimes and comments
This commit is contained in:
commit
30788ceed0
|
@ -56,7 +56,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