Roo/calendar/View.js
authorEdward <edward@roojs.com>
Wed, 9 Apr 2014 12:14:15 +0000 (20:14 +0800)
committerEdward <edward@roojs.com>
Wed, 9 Apr 2014 12:14:15 +0000 (20:14 +0800)
Roo/calendar/View.js

index 05396c1..555dbc3 100644 (file)
@@ -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 = cg.child('>* .fc-event').first() || false;
+                var firstEvent = cg.child('> .fc-event').first() || false;
                 
                 if(firstEvent){
                     firstEvent.setStyle('margin-top', ev.row * 20 + 'px');