dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
HTMLForm: Use OOUI\Element::configFromHtmlAttributes instead of rolling our own
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
HTMLRadioField.php
diff --git
a/includes/htmlform/HTMLRadioField.php
b/includes/htmlform/HTMLRadioField.php
index
ecca6ff
..
12a8a1f
100644
(file)
--- a/
includes/htmlform/HTMLRadioField.php
+++ b/
includes/htmlform/HTMLRadioField.php
@@
-53,7
+53,9
@@
class HTMLRadioField extends HTMLFormField {
'value' => $value,
'options' => $options,
'classes' => 'mw-htmlform-flatlist-item',
'value' => $value,
'options' => $options,
'classes' => 'mw-htmlform-flatlist-item',
- ] + $this->getAttributes( [ 'disabled', 'tabindex' ], [ 'tabindex' => 'tabIndex' ] ) );
+ ] + OOUI\Element::configFromHtmlAttributes(
+ $this->getAttributes( [ 'disabled', 'tabindex' ] )
+ ) );
}
function formatOptions( $options, $value ) {
}
function formatOptions( $options, $value ) {