From 016e6d82eff8d352796db3ffe897369c8640130e Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 25 Apr 2013 17:38:06 -0700 Subject: [PATCH] Tooltip position fix for textareas. --- e107_web/js/core/admin.jquery.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/e107_web/js/core/admin.jquery.js b/e107_web/js/core/admin.jquery.js index eb8ff7ab8..801f6d7d2 100644 --- a/e107_web/js/core/admin.jquery.js +++ b/e107_web/js/core/admin.jquery.js @@ -273,6 +273,13 @@ $(document).ready(function() $("div.tbox,input,textarea,select,label,.e-tip").each(function(c) { var t = $(this).nextAll(".field-help"); + + if($(this).is("textarea")) + { + var placement = 'top'; + } + + t.hide(); // alert('hello'); $(this).tooltip({ @@ -282,7 +289,7 @@ $(document).ready(function() }, fade: true, html: true, - placement: 'right', + placement: placement, delay: { show: 300, hide: 600 } });