diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-06 13:06:13 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-06 13:06:13 +0000 |
commit | b3d3e39c47901bf9751b74146c34c361833f1c2d (patch) | |
tree | 16b6190078739c670023b1c9dc6672f2aef43b36 | |
parent | f2448fe718225ca23aa1fcb5f3785a55bf404680 (diff) | |
download | brdo-b3d3e39c47901bf9751b74146c34c361833f1c2d.tar.gz brdo-b3d3e39c47901bf9751b74146c34c361833f1c2d.tar.bz2 |
#163361 by dvessel: fix hidden textareas in Opera and remove gap between textarea and grippie in Firefox/Safari
-rw-r--r-- | misc/textarea.js | 2 | ||||
-rw-r--r-- | modules/system/system.css | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/misc/textarea.js b/misc/textarea.js index 65b8d3cca..f561c3a0d 100644 --- a/misc/textarea.js +++ b/misc/textarea.js @@ -10,7 +10,7 @@ Drupal.behaviors.textarea = function(context) { .parent().append($('<div class="grippie"></div>').mousedown(startDrag)); // Inherit visibility - if ($(this).is(':hidden')) { + if ($(this).is('[@disabled]')) { $(this).parent().hide(); $(this).show(); } diff --git a/modules/system/system.css b/modules/system/system.css index e5917eee3..0f810bf37 100644 --- a/modules/system/system.css +++ b/modules/system/system.css @@ -381,6 +381,7 @@ html.js fieldset.collapsible .fieldset-wrapper { html.js .resizable-textarea textarea { margin-bottom: 0; width: 100%; + display: block; } /* |