diff options
author | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-04-14 13:48:56 +0000 |
---|---|---|
committer | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-04-14 13:48:56 +0000 |
commit | a4fd2d666c55132dcb490fddbfd024a056197790 (patch) | |
tree | 6377f08730ac11439be62561a631e5ae8c00f4ba | |
parent | 67fa69fe0ea588da023f5d55b89b96a8c6e1016f (diff) | |
download | brdo-a4fd2d666c55132dcb490fddbfd024a056197790.tar.gz brdo-a4fd2d666c55132dcb490fddbfd024a056197790.tar.bz2 |
#57750, fixing leftovers, patch by tenrapid
-rw-r--r-- | misc/collapse.js | 2 | ||||
-rw-r--r-- | misc/textarea.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/misc/collapse.js b/misc/collapse.js index 21b730c2d..b3695b51e 100644 --- a/misc/collapse.js +++ b/misc/collapse.js @@ -22,7 +22,7 @@ function collapseAutoAttach() { toggleClass(this.parentNode.parentNode, 'collapsed'); if (!hasClass(this.parentNode.parentNode, 'collapsed')) { collapseScrollIntoView(this.parentNode.parentNode); - if (typeof textAreaInit != 'undefined') { + if (typeof textAreaAutoAttach != 'undefined') { // Add the grippie to a textarea in a collapsed fieldset. textAreaAutoAttach(null, this.parentNode.parentNode); } diff --git a/misc/textarea.js b/misc/textarea.js index 23f24d29d..3e5f4789c 100644 --- a/misc/textarea.js +++ b/misc/textarea.js @@ -1,7 +1,7 @@ // $Id$ if (isJsEnabled()) { - addLoadEvent(textAreaInit); + addLoadEvent(textAreaAutoAttach); } function textAreaAutoAttach(event, parent) { |