dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
fb64257
)
Merge "Html: Add buttonAttributes() more diligently"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Tue, 9 Jun 2015 22:24:44 +0000
(22:24 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 9 Jun 2015 22:24:44 +0000
(22:24 +0000)
includes/Html.php
patch
|
blob
|
history
diff --git
a/includes/Html.php
b/includes/Html.php
index
6da70b1
..
235096d
100644
(file)
--- a/
includes/Html.php
+++ b/
includes/Html.php
@@
-715,6
+715,9
@@
class Html {
if ( in_array( $type, array( 'text', 'search', 'email', 'password', 'number' ) ) ) {
$attribs = self::getTextInputAttributes( $attribs );
}
+ if ( in_array( $type, array( 'button', 'reset', 'submit' ) ) ) {
+ $attribs = self::buttonAttributes( $attribs );
+ }
return self::element( 'input', $attribs );
}