summaryrefslogtreecommitdiff
path: root/addons/web_calendar/static/lib/dhtmlxScheduler/codebase
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-03-28 18:23:57 +0200
committerFabien Meghazi <fme@openerp.com>2012-03-28 18:23:57 +0200
commitae02db5292757ed08bc78e77fbc20eae7a056cfb (patch)
treebea6ce009f4029ee99811048b8b2a538bb475cc5 /addons/web_calendar/static/lib/dhtmlxScheduler/codebase
parent72c4fafab856b61e842a2bc1c3b73cdb42d31d9d (diff)
parentf1f2332cc217bd9bf62610c4a771918b1f73ea8d (diff)
[FIX] No tooltip in Web Calendar view. Courtesy of Synconics Technologies
lp bug: https://launchpad.net/bugs/949817 fixed bzr revid: fme@openerp.com-20120328162357-yr3pbnou5c8yv2uj
Diffstat (limited to 'addons/web_calendar/static/lib/dhtmlxScheduler/codebase')
-rw-r--r--addons/web_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler_debug.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/web_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler_debug.js b/addons/web_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler_debug.js
index 6b2e961051c..30384b83b5c 100644
--- a/addons/web_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler_debug.js
+++ b/addons/web_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler_debug.js
@@ -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);