mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 04:12:00 +02:00
e-spinner tool-tip fix in admin area.
This commit is contained in:
@@ -5,6 +5,8 @@ $(document).ready(function()
|
|||||||
|
|
||||||
// run tips on title attribute.
|
// run tips on title attribute.
|
||||||
$(".e-tip").each(function() {
|
$(".e-tip").each(function() {
|
||||||
|
|
||||||
|
|
||||||
var tip = $(this).attr('title');
|
var tip = $(this).attr('title');
|
||||||
if(!tip)
|
if(!tip)
|
||||||
{
|
{
|
||||||
@@ -16,15 +18,15 @@ $(document).ready(function()
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// run tips on .field-help
|
// run tips on .field-help
|
||||||
$("input,textarea,select,label,.e-tip").each(function(c) {
|
$("input,textarea,select,label,.e-tip").each(function(c) {
|
||||||
|
|
||||||
|
var t = $(this).nextAll(".field-help");
|
||||||
$(this).nextAll(".field-help").hide();
|
t.hide();
|
||||||
// alert('hello');
|
// alert('hello');
|
||||||
$(this).tipsy({title: function() {
|
$(this).tipsy({title: function() {
|
||||||
var tip = $(this).nextAll(".field-help").text();
|
var tip = t.text();
|
||||||
return tip;
|
return tip;
|
||||||
},
|
},
|
||||||
fade: true,
|
fade: true,
|
||||||
@@ -34,8 +36,8 @@ $(document).ready(function()
|
|||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// $(".e-spinner").spinner();
|
|
||||||
|
$(".e-spinner").spinner();
|
||||||
|
|
||||||
|
|
||||||
$(".e-radio-multi").each(function() {
|
$(".e-radio-multi").each(function() {
|
||||||
|
@@ -451,6 +451,10 @@ select[disabled='disabled'],
|
|||||||
option { padding-right: 10px;}
|
option { padding-right: 10px;}
|
||||||
input.input-text, textarea, .tbox, .helpbox { padding:2px; }
|
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.tbox { min-height:17px; padding: 0px; /* setting the height of empty selects */ }
|
||||||
.select.order { width: 40px !important; }
|
.select.order { width: 40px !important; }
|
||||||
.select.time-offset { width: 60px !important; }
|
.select.time-offset { width: 60px !important; }
|
||||||
|
Reference in New Issue
Block a user