diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-04-12 16:07:39 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-04-12 16:07:39 +0000 |
commit | 39c261909f7ad0b3a22b49607132f86de3228fea (patch) | |
tree | 9b7a7b455cf7277353db0b8a4142487a072ec895 /misc/collapse.js | |
parent | 8fe50513608c519f36ee42f658f431ca628d9c9e (diff) | |
download | brdo-39c261909f7ad0b3a22b49607132f86de3228fea.tar.gz brdo-39c261909f7ad0b3a22b49607132f86de3228fea.tar.bz2 |
#57750: Resizable textareas in collapsible fieldsets
Diffstat (limited to 'misc/collapse.js')
-rw-r--r-- | misc/collapse.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/collapse.js b/misc/collapse.js index 387bf376f..e6905ac08 100644 --- a/misc/collapse.js +++ b/misc/collapse.js @@ -22,6 +22,10 @@ function collapseAutoAttach() { toggleClass(this.parentNode.parentNode, 'collapsed'); if (!hasClass(this.parentNode.parentNode, 'collapsed')) { collapseScrollIntoView(this.parentNode.parentNode); + if (typeof textAreaInit != 'undefined') { + // Add the grippie to a textarea in a collapsed fieldset. + textAreaInit(this.parentNode.parentNode); + } } this.blur(); return false; |