projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d04d862
)
Roo/calendar/View.js
author
Edward
<edward@roojs.com>
Wed, 9 Apr 2014 12:09:54 +0000
(20:09 +0800)
committer
Edward
<edward@roojs.com>
Wed, 9 Apr 2014 12:09:54 +0000
(20:09 +0800)
Roo/calendar/View.js
patch
|
blob
|
history
diff --git
a/Roo/calendar/View.js
b/Roo/calendar/View.js
index
5ab7e09
..
075c9b3
100644
(file)
--- a/
Roo/calendar/View.js
+++ b/
Roo/calendar/View.js
@@
-706,6
+706,7
@@
Roo.extend(Roo.calendar.View, Roo.BoxComponent, {
if (i == 0) {
cfg.cls += ' fc-event-start';
}
+
if ((i+1) == rows.length) {
cfg.cls += ' fc-event-end';
}
@@
-713,6
+714,8
@@
Roo.extend(Roo.calendar.View, Roo.BoxComponent, {
// var ctr = this.el.select('.fc-event-container',true).first();
var cg = startCell.createChild(cfg);
+ cg.setStyle('padding-top', ev.row * 20 + 'px');
+
cg.on('mouseenter' ,this.onEventEnter, this, ev);
cg.on('mouseleave' ,this.onEventLeave, this, ev);
cg.on('click', this.onEventClick, this, ev);