mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Make calendar's tooltip scrollable
This commit is contained in:
parent
ce65365049
commit
628b1369f7
@ -442,6 +442,17 @@ app.classes.calendar = AppJS.extend(
|
||||
open: function(event,ui){
|
||||
ui.tooltip.removeClass("ui-tooltip");
|
||||
ui.tooltip.addClass("calendar_uitooltip");
|
||||
},
|
||||
close: function( event, ui )
|
||||
{
|
||||
ui.tooltip.hover(
|
||||
function () {
|
||||
if (this.scrollHeight > this.clientHeight) jQuery(this).stop(true).fadeTo(100, 1);
|
||||
},
|
||||
function () {
|
||||
jQuery(this).fadeOut("100", function(){ jQuery(this).remove();});
|
||||
}
|
||||
);
|
||||
}
|
||||
});
|
||||
ttp.tooltip("enable");
|
||||
|
Loading…
Reference in New Issue
Block a user