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

index 31d2a8b..2b6226d 100644 (file)
@@ -156,9 +156,11 @@ Roo.extend(Roo.CalendarPanel, Roo.ContentPanel, {
             cfg.name = this.name;
         }
         
-        ct.createChild(cfg, position);
+        view.el =  ct.createChild(cfg, position);
         
-         
+        if(this.tabIndex !== undefined){
+            this.el.dom.setAttribute('tabIndex', this.tabIndex);
+        }
         
         
         this.view.initEvents();