Merge "(bug 47070) check content model namespace on import."
[lhc/web/wiklou.git] / includes / htmlform / HTMLSelectField.php
index d2dd432..9d719f6 100644 (file)
@@ -37,6 +37,10 @@ class HTMLSelectField extends HTMLFormField {
                        $select->setAttribute( 'disabled', 'disabled' );
                }
 
+               if ( isset( $this->mParams['tabindex'] ) ) {
+                       $select->setAttribute( 'tabindex', $this->mParams['tabindex'] );
+               }
+
                if ( $this->mClass !== '' ) {
                        $select->setAttribute( 'class', $this->mClass );
                }