summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-11-23 11:45:37 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-11-23 11:45:37 +0000
commitb10155385b8d34081ad17c710b1bfd8c1d020b14 (patch)
tree63c924bcaf22181c3d3d09b2611a9216b14055a8 /misc
parent63e91b0ad8434a36f477cc45a4adc00a719b2d1e (diff)
downloadbrdo-b10155385b8d34081ad17c710b1bfd8c1d020b14.tar.gz
brdo-b10155385b8d34081ad17c710b1bfd8c1d020b14.tar.bz2
#193921 by kkaefer: resizable textfields behavior should come after teaser splitter (cck breaker)
Diffstat (limited to 'misc')
-rw-r--r--misc/textarea.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/textarea.js b/misc/textarea.js
index 825f1d6d2..f85eacd2a 100644
--- a/misc/textarea.js
+++ b/misc/textarea.js
@@ -4,6 +4,11 @@ Drupal.behaviors.textarea = function(context) {
$('textarea.resizable:not(.textarea-processed)', context).each(function() {
var textarea = $(this).addClass('textarea-processed'), staticOffset = null;
+ // Make sure that teaser.js has done its magic before converting this textarea.
+ if (Drupal.behaviors.teaser && textarea.is(('.teaser:not(.teaser-processed)'))) {
+ Drupal.behaviors.teaser(this.parentNode);
+ }
+
// When wrapping the text area, work around an IE margin bug. See:
// http://jaspan.com/ie-inherited-margin-bug-form-elements-and-haslayout
$(this).wrap('<div class="resizable-textarea"><span></span></div>')