mirror of
https://github.com/e107inc/e107.git
synced 2025-03-11 07:59:44 +01:00
e-spinner tool-tip fix in admin area.
This commit is contained in:
parent
d3156afc2f
commit
539efe643a
@ -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() {
|
||||
|
@ -451,6 +451,10 @@ select[disabled='disabled'],
|
||||
option { padding-right: 10px;}
|
||||
input.input-text, textarea, .tbox, .helpbox { padding:2px; }
|
||||
|
||||
input.e-spinner {
|
||||
border:0px;
|
||||
}
|
||||
|
||||
select.tbox { min-height:17px; padding: 0px; /* setting the height of empty selects */ }
|
||||
.select.order { width: 40px !important; }
|
||||
.select.time-offset { width: 60px !important; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user