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
Merge "HTMLForm: Use OOUI\Element::configFromHtmlAttributes instead of rolling our...
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
HTMLFormFieldWithButton.php
diff --git
a/includes/htmlform/HTMLFormFieldWithButton.php
b/includes/htmlform/HTMLFormFieldWithButton.php
index
1ebd280
..
bcb07bd
100644
(file)
--- a/
includes/htmlform/HTMLFormFieldWithButton.php
+++ b/
includes/htmlform/HTMLFormFieldWithButton.php
@@
-59,7
+59,9
@@
class HTMLFormFieldWithButton extends HTMLFormField {
'type' => $this->mButtonType,
'label' => $this->mButtonValue,
'flags' => $this->mButtonFlags,
- ] );
+ ] + OOUI\Element::configFromHtmlAttributes(
+ $this->getAttributes( [ 'disabled', 'tabindex' ] )
+ ) );
}
/**