summaryrefslogtreecommitdiff
path: root/addons/web_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler_debug.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-04-03 13:07:24 +0200
committerXavier Morel <xmo@openerp.com>2012-04-03 13:07:24 +0200
commit45c48d684270f9a88af668f99a1d027df57f68d3 (patch)
tree559234785bc52a6b9f2d78ddc8f6db79efeb3e4b /addons/web_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler_debug.js
parent7353e02e2ef4a403d4b79c1b157f2ca00b77d2fc (diff)
parent7270d0461800389b54d9cf56aedfa2ea7d397e22 (diff)
[MERGE] from trunk
bzr revid: xmo@openerp.com-20120403110724-a6z2wrnxgf8jbspx
Diffstat (limited to 'addons/web_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler_debug.js')
-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);