Roo/CalendarPanel.js
authorAlan Knowles <alan@roojs.com>
Wed, 9 Apr 2014 02:05:14 +0000 (10:05 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 9 Apr 2014 02:05:14 +0000 (10:05 +0800)
Roo/CalendarPanel.js

index 1006dca..175ebbf 100644 (file)
@@ -126,7 +126,7 @@ Roo.extend(Roo.CalendarPanel, Roo.ContentPanel, {
         //Roo.bootstrap.Component.superclass.onRender.call(this, ct, position);
         
         
-        var cfg = Roo.apply({},  this.getAutoCreate());
+        var cfg = Roo.apply({},  this.view.getAutoCreate());
         cfg.id = Roo.id();
         
         // fill in the extra attributes