From 09d878b56aeee6b55dd6cf1e0161987f23591254 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 25 Apr 2013 13:00:58 -0700 Subject: [PATCH] Closes #172 - tooltip display issue --- e107_web/js/core/admin.jquery.js | 36 ++++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/e107_web/js/core/admin.jquery.js b/e107_web/js/core/admin.jquery.js index 7b17041d7..eb8ff7ab8 100644 --- a/e107_web/js/core/admin.jquery.js +++ b/e107_web/js/core/admin.jquery.js @@ -245,24 +245,7 @@ $(document).ready(function() - // run tips on .field-help - $("input,textarea,select,label,.e-tip").each(function(c) { - - var t = $(this).nextAll(".field-help"); - t.hide(); - // alert('hello'); - $(this).tooltip({ - title: function() { - var tip = t.html(); - return tip; - }, - fade: true, - html: true, - placement: 'right', - delay: { show: 300, hide: 600 } - }); - - }); + $('.e-noclick').click(function(e) { @@ -286,7 +269,24 @@ $(document).ready(function() }); + // run tips on .field-help + $("div.tbox,input,textarea,select,label,.e-tip").each(function(c) { + + var t = $(this).nextAll(".field-help"); + t.hide(); + // alert('hello'); + $(this).tooltip({ + title: function() { + var tip = t.html(); + return tip; + }, + fade: true, + html: true, + placement: 'right', + delay: { show: 300, hide: 600 } + }); + }); // $(".e-spinner").spinner(); //FIXME breaks tooltips etc.