Roo/grid/Calendar.js
authorAlan Knowles <alan@roojs.com>
Thu, 10 Apr 2014 01:14:52 +0000 (09:14 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 10 Apr 2014 01:14:52 +0000 (09:14 +0800)
Roo/grid/Calendar.js

index 9546dfe..4bdbae2 100644 (file)
@@ -827,14 +827,12 @@ Roo.extend(Roo.grid.Calendar, Roo.grid.Grid, {
                 
                 
                 // how many rows should it span..
-                this.eventTmpl.append(ctr,Roo.apply({
+                var cg = this.eventTmpl.append(ctr,Roo.apply({
                     fccls : cls
                     
-                }, rec.data) );
+                }, rec.data) , true);
                 
                 
-               
-                var cg = ctr.createChild(cfg);
                 
                 cg.on('mouseenter' ,this.onEventEnter, this, ev);
                 cg.on('mouseleave' ,this.onEventLeave, this, ev);