From: Bartosz DziewoƄski Date: Mon, 5 Jun 2017 22:30:49 +0000 (+0200) Subject: EditPage: Give edit summary field's 'tabindex' as a number X-Git-Tag: 1.31.0-rc.0~3044 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=dd362c923d92bf334aa230e3cf393ada1ff88864;p=lhc%2Fweb%2Fwiklou.git EditPage: Give edit summary field's 'tabindex' as a number There's a bug in OOjs UI that causes the string value to be ignored after the input is infused (e.g. by the mediawiki.action.edit script). Bug: T167070 Change-Id: Ibeefc8327b462552c67459aac2c75cca9b1f4739 --- diff --git a/includes/EditPage.php b/includes/EditPage.php index 20250d59ca..f79a2863e7 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -3059,7 +3059,7 @@ class EditPage { 'id' => 'wpSummary', 'name' => 'wpSummary', 'maxlength' => '200', - 'tabindex' => '1', + 'tabindex' => 1, 'size' => 60, 'spellcheck' => 'true', ] + Linker::tooltipAndAccesskeyAttribs( 'summary' );