Remove tabindex from the drop-down in Special:RevisionDelete
authorAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Sun, 6 Jul 2014 06:22:55 +0000 (08:22 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Sun, 6 Jul 2014 10:06:26 +0000 (10:06 +0000)
It is the only element in the form which has this attribute set,
so the tab order was not correct.

Bug: 67271
Change-Id: Ifa8fb91f9bf7a60e727ec7376d2bc3a851007634

includes/specials/SpecialRevisiondelete.php

index d3b168b..b90026a 100644 (file)
@@ -417,7 +417,7 @@ class SpecialRevisionDelete extends UnlistedSpecialPage {
                                                Xml::listDropDown( 'wpRevDeleteReasonList',
                                                        $this->msg( 'revdelete-reason-dropdown' )->inContentLanguage()->text(),
                                                        $this->msg( 'revdelete-reasonotherlist' )->inContentLanguage()->text(),
-                                                       $this->getRequest()->getText( 'wpRevDeleteReasonList', 'other' ), 'wpReasonDropDown', 1
+                                                       $this->getRequest()->getText( 'wpRevDeleteReasonList', 'other' ), 'wpReasonDropDown'
                                                ) .
                                        '</td>' .
                                "</tr><tr>\n" .