Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
cc4ce505
Commit
cc4ce505
authored
Aug 30, 2010
by
Angie Byron
Browse files
#895896
by Jacine: Fixed Textarea element should not have a value attribute.
parent
410fcdc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/form.inc
View file @
cc4ce505
...
...
@@ -3197,7 +3197,6 @@ function theme_textarea($variables) {
$element
=
$variables
[
'element'
];
$element
[
'#attributes'
][
'name'
]
=
$element
[
'#name'
];
$element
[
'#attributes'
][
'id'
]
=
$element
[
'#id'
];
$element
[
'#attributes'
][
'value'
]
=
$element
[
'#value'
];
$element
[
'#attributes'
][
'cols'
]
=
$element
[
'#cols'
];
$element
[
'#attributes'
][
'rows'
]
=
$element
[
'#rows'
];
_form_set_class
(
$element
,
array
(
'form-textarea'
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment