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 "Change MediaWiki UI to use skinStyles so skins can customize"
[lhc/web/wiklou.git]
/
includes
/
htmlform
/
HTMLTextAreaField.php
diff --git
a/includes/htmlform/HTMLTextAreaField.php
b/includes/htmlform/HTMLTextAreaField.php
index
4fd1989
..
21173d2
100644
(file)
--- a/
includes/htmlform/HTMLTextAreaField.php
+++ b/
includes/htmlform/HTMLTextAreaField.php
@@
-15,7
+15,6
@@
class HTMLTextAreaField extends HTMLFormField {
function getInputHTML( $value ) {
$attribs = array(
'id' => $this->mID,
function getInputHTML( $value ) {
$attribs = array(
'id' => $this->mID,
- 'name' => $this->mName,
'cols' => $this->getCols(),
'rows' => $this->getRows(),
) + $this->getTooltipAndAccessKey();
'cols' => $this->getCols(),
'rows' => $this->getRows(),
) + $this->getTooltipAndAccessKey();
@@
-34,7
+33,6
@@
class HTMLTextAreaField extends HTMLFormField {
);
$attribs += $this->getAttributes( $allowedParams );
);
$attribs += $this->getAttributes( $allowedParams );
-
- return Html::element( 'textarea', $attribs, $value );
+ return Html::textarea( $this->mName, $value, $attribs );
}
}
}
}