#57750: Tweaks for textareas inside collapsed fieldsets
parent
062412e1a4
commit
1cd46e64ce
|
@ -24,7 +24,7 @@ function collapseAutoAttach() {
|
|||
collapseScrollIntoView(this.parentNode.parentNode);
|
||||
if (typeof textAreaInit != 'undefined') {
|
||||
// Add the grippie to a textarea in a collapsed fieldset.
|
||||
textAreaInit(this.parentNode.parentNode);
|
||||
textAreaAutoAttach(null, this.parentNode.parentNode);
|
||||
}
|
||||
}
|
||||
this.blur();
|
||||
|
|
|
@ -4,7 +4,7 @@ if (isJsEnabled()) {
|
|||
addLoadEvent(textAreaInit);
|
||||
}
|
||||
|
||||
function textAreaInit(parent) {
|
||||
function textAreaAutoAttach(event, parent) {
|
||||
if (typeof parent == 'undefined') {
|
||||
// Attach to all visible textareas.
|
||||
textareas = document.getElementsByTagName('textarea');
|
||||
|
|
Loading…
Reference in New Issue