mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
CommandForm: input[type=submit] instead of button
No need for a "button" here. As they have been broken in ZF for a long while we should better stay with input[type=submit] fixes #5978
This commit is contained in:
parent
6f19bb13b8
commit
d199a8b036
@ -119,7 +119,7 @@ class Zend_View_Helper_CommandForm extends Zend_View_Helper_Abstract
|
|||||||
{
|
{
|
||||||
$form = $this->simpleForm($commandName, $arguments);
|
$form = $this->simpleForm($commandName, $arguments);
|
||||||
|
|
||||||
$button = new Zend_Form_Element_Button(
|
$button = new Zend_Form_Element_Submit(
|
||||||
array(
|
array(
|
||||||
'name' => 'btn_submit',
|
'name' => 'btn_submit',
|
||||||
'class' => $cls,
|
'class' => $cls,
|
||||||
|
@ -99,17 +99,20 @@ form.inline {
|
|||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
button.link-like {
|
button.link-like, input.link-like {
|
||||||
color: @colorLinkDefault;
|
color: @colorLinkDefault;
|
||||||
background: none;
|
font-weight: normal;
|
||||||
border: none;
|
border: none;
|
||||||
|
background: none;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
button.link-like:hover {
|
button.link-like:hover, input.link-like:hover, input.link-like:focus {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
background: none;
|
||||||
|
color: @colorLinkDefault;
|
||||||
}
|
}
|
||||||
|
|
||||||
form ul.errors {
|
form ul.errors {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user