summaryrefslogtreecommitdiff
path: root/addons/web_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler_debug.js
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-03-29 13:43:27 +0200
committerFabien Meghazi <fme@openerp.com>2012-03-29 13:43:27 +0200
commitb8875e6e3919fabf6cb0c5f90ee2ad0877bff755 (patch)
tree0edd4bce6a29e798bcbdf7a0131fd7a68fd09270 /addons/web_calendar/static/lib/dhtmlxScheduler/codebase/dhtmlxscheduler_debug.js
parent1517145f3fc86285aa650a6f3ff9008d984e1273 (diff)
parent5da87c6a322a11f91258a2e6e4e399e6bd920481 (diff)
[MERGE] Merge 6.1 except *.po's
bzr revid: fme@openerp.com-20120329114327-gb7hz3ysfh3q4sjk
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);