[FIX] Added tooltip to the calendar events.

lp bug: https://launchpad.net/bugs/949817 fixed

bzr revid: contact@synconics.com-20120311102501-wdpox1dcwsrfggx5
This commit is contained in:
Synconics Technologies
2012-03-11 15:55:01 +05:30
parent 57b2b97308
commit f1f2332cc2
@@ -3408,8 +3408,10 @@ scheduler.render_event_bar=function(ev){
var bg_color = (ev.color?("background-color:"+ev.color+";"):"");
var color = (ev.textColor?("color:"+ev.textColor+";"):"");
var title_line = scheduler.templates.event_bar_text(ev.start_date,ev.end_date,ev);
var html='<div event_id="'+ev.id+'" class="'+cs+'" style="position:absolute; top:'+y+'px; left:'+x+'px; width:'+(x2-x-15)+'px;'+color+''+bg_color+''+(ev._text_style||"")+'">';
var html='<div title="'+ title_line +'" event_id="'+ev.id+'" class="'+cs+'" style="position:absolute; top:'+y+'px; left:'+x+'px; width:'+(x2-x-15)+'px;'+color+''+bg_color+''+(ev._text_style||"")+'">';
if (ev._timed)
html+=scheduler.templates.event_bar_date(ev.start_date,ev.end_date,ev);