projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
702e396
)
Roo/calendar/View.js
author
Edward
<edward@roojs.com>
Wed, 9 Apr 2014 12:17:37 +0000
(20:17 +0800)
committer
Edward
<edward@roojs.com>
Wed, 9 Apr 2014 12:17:37 +0000
(20:17 +0800)
Roo/calendar/View.js
patch
|
blob
|
history
diff --git
a/Roo/calendar/View.js
b/Roo/calendar/View.js
index
2142bb8
..
a5931b0
100644
(file)
--- a/
Roo/calendar/View.js
+++ b/
Roo/calendar/View.js
@@
-714,7
+714,7
@@
Roo.extend(Roo.calendar.View, Roo.BoxComponent, {
// var ctr = this.el.select('.fc-event-container',true).first();
var cg = startCell.createChild(cfg);
- var firstEvent = startCell.
child('.fc-event', true) || false
;
+ var firstEvent = startCell.
select('.fc-event', true).first()
;
Roo.log(firstEvent);
if(firstEvent){
firstEvent.setStyle('margin-top', ev.row * 20 + 'px');