dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "deferred: Introduce TransactionRoundDefiningUpdate"
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
fields
/
HTMLTextAreaField.php
diff --git
a/includes/htmlform/fields/HTMLTextAreaField.php
b/includes/htmlform/fields/HTMLTextAreaField.php
index
82ec3bf
..
e6963d5
100644
(file)
--- a/
includes/htmlform/fields/HTMLTextAreaField.php
+++ b/
includes/htmlform/fields/HTMLTextAreaField.php
@@
-71,7
+71,7
@@
class HTMLTextAreaField extends HTMLFormField {
throw new Exception( "OOUIHTMLForm does not support the 'cols' parameter for textareas" );
}
throw new Exception( "OOUIHTMLForm does not support the 'cols' parameter for textareas" );
}
- $attribs = $this->getTooltipAndAccessKey();
+ $attribs = $this->getTooltipAndAccessKey
OOUI
();
if ( $this->mClass !== '' ) {
$attribs['classes'] = [ $this->mClass ];
if ( $this->mClass !== '' ) {
$attribs['classes'] = [ $this->mClass ];
@@
-92,10
+92,9
@@
class HTMLTextAreaField extends HTMLFormField {
$this->getAttributes( $allowedParams )
);
$this->getAttributes( $allowedParams )
);
- return new OOUI\TextInputWidget( [
+ return new OOUI\
Multiline
TextInputWidget( [
'id' => $this->mID,
'name' => $this->mName,
'id' => $this->mID,
'name' => $this->mName,
- 'multiline' => true,
'value' => $value,
'rows' => $this->getRows(),
] + $attribs );
'value' => $value,
'rows' => $this->getRows(),
] + $attribs );