Merge "Change \\ to \ in phpdoc"
[lhc/web/wiklou.git] / includes / htmlform / HTMLFormFieldWithButton.php
index 1ebd280..bcb07bd 100644 (file)
@@ -59,7 +59,9 @@ class HTMLFormFieldWithButton extends HTMLFormField {
                        'type' => $this->mButtonType,
                        'label' => $this->mButtonValue,
                        'flags' => $this->mButtonFlags,
-               ] );
+               ] + OOUI\Element::configFromHtmlAttributes(
+                       $this->getAttributes( [ 'disabled', 'tabindex' ] )
+               ) );
        }
 
        /**