diff -r 000000000000 -r c357d5b60635 test/emission_fichiers/textarea.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/emission_fichiers/textarea.js Fri Feb 11 14:02:37 2011 +0100 @@ -0,0 +1,36 @@ +// $Id: textarea.js,v 1.22 2008/01/17 19:31:56 goba Exp $ + +Drupal.behaviors.textarea = function(context) { + $('textarea.resizable:not(.textarea-processed)', context).each(function() { + // Avoid non-processed teasers. + if ($(this).is(('textarea.teaser:not(.teaser-processed)'))) { + return false; + } + var textarea = $(this).addClass('textarea-processed'), staticOffset = null; + + // 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('