From: Kunal Mehta Date: Fri, 25 Oct 2013 20:30:00 +0000 (-0700) Subject: Add HTML ID to tag filter input X-Git-Tag: 1.31.0-rc.0~18384^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=commitdiff_plain;h=53a8acaf8aea16fc36f5a4157b8ab136f44f1021;p=lhc%2Fweb%2Fwiklou.git Add HTML ID to tag filter input Makes it so if you click "Tag filter" the input box is now focused. Bug: 56175 Change-Id: I502f86f227bc0d1cc5ea936d9047bc51d169323a --- diff --git a/includes/ChangeTags.php b/includes/ChangeTags.php index 3fc27f9a22..7ec641d9d6 100644 --- a/includes/ChangeTags.php +++ b/includes/ChangeTags.php @@ -232,7 +232,7 @@ class ChangeTags { } $data = array( Html::rawElement( 'label', array( 'for' => 'tagfilter' ), wfMessage( 'tag-filter' )->parse() ), - Xml::input( 'tagfilter', 20, $selected, array( 'class' => 'mw-tagfilter-input' ) ) ); + Xml::input( 'tagfilter', 20, $selected, array( 'class' => 'mw-tagfilter-input', 'id' => 'tagfilter' ) ) ); if ( !$fullForm ) { return $data;