1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-18 16:26:20 +02:00

e-spinner tool-tip fix in admin area.

This commit is contained in:
CaMer0n
2012-11-16 00:20:00 +00:00
parent d3156afc2f
commit 539efe643a
2 changed files with 13 additions and 7 deletions

View File

@@ -5,6 +5,8 @@ $(document).ready(function()
// run tips on title attribute.
$(".e-tip").each(function() {
var tip = $(this).attr('title');
if(!tip)
{
@@ -16,15 +18,15 @@ $(document).ready(function()
});
// run tips on .field-help
$("input,textarea,select,label,.e-tip").each(function(c) {
$(this).nextAll(".field-help").hide();
var t = $(this).nextAll(".field-help");
t.hide();
// alert('hello');
$(this).tipsy({title: function() {
var tip = $(this).nextAll(".field-help").text();
var tip = t.text();
return tip;
},
fade: true,
@@ -34,8 +36,8 @@ $(document).ready(function()
});
// $(".e-spinner").spinner();
$(".e-spinner").spinner();
$(".e-radio-multi").each(function() {