From: Bartosz DziewoƄski Date: Thu, 19 Jan 2017 15:19:27 +0000 (+0100) Subject: HTMLTextField: Set the 'dir' attribute in OOUI mode X-Git-Tag: 1.31.0-rc.0~4279 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=72aad7fffde258ccd11e3cc51ef9f0a8ccc97a46;p=lhc%2Fweb%2Fwiklou.git HTMLTextField: Set the 'dir' attribute in OOUI mode Bug: T153636 Change-Id: I7ddf6a358f8150ef252d8d8e76661fe1eb93a790 --- diff --git a/includes/htmlform/fields/HTMLTextField.php b/includes/htmlform/fields/HTMLTextField.php index c3da74618b..b0b66cab9f 100644 --- a/includes/htmlform/fields/HTMLTextField.php +++ b/includes/htmlform/fields/HTMLTextField.php @@ -187,6 +187,7 @@ class HTMLTextField extends HTMLFormField { 'name' => $this->mName, 'value' => $value, 'type' => $type, + 'dir' => $this->mDir, ] + $attribs ); }