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
682892ad
Commit
682892ad
authored
Dec 30, 2005
by
Steven Wittens
Browse files
-
#42446
: Disable resizable textareas inside collapsed fieldsets.
parent
fa321c22
Changes
2
Hide whitespace changes
Inline
Side-by-side
misc/drupal.css
View file @
682892ad
...
...
@@ -600,7 +600,7 @@ html.js fieldset.collapsed {
margin-bottom
:
0
;
}
html
.js
fieldset
.collapsed
*
{
display
:
none
;
display
:
none
;
}
html
.js
fieldset
.collapsed
table
*,
html
.js
fieldset
.collapsed
legend
,
...
...
misc/textarea.js
View file @
682892ad
if
(
isJsEnabled
())
{
addLoadEvent
(
function
()
{
// Attach to all textareas
// Attach to all
visible
textareas
textareas
=
document
.
getElementsByTagName
(
'
textarea
'
);
var
textarea
;
for
(
var
i
=
0
;
textarea
=
textareas
[
i
];
++
i
)
{
if
(
hasClass
(
textarea
,
'
resizable
'
))
{
new
textArea
(
textarea
);
if
(
typeof
dimensions
(
textarea
).
width
!=
'
undefined
'
&&
dimensions
(
textarea
).
width
!=
0
)
{
new
textArea
(
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