Commit 682892ad authored by Steven Wittens's avatar Steven Wittens
Browse files

- #42446: Disable resizable textareas inside collapsed fieldsets.

parent fa321c22
......@@ -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,
......
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);
}
}
}
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment