Upgrade to ExtJS 3.1.0 - Released 12/16/2009
[extjs.git] / src / widgets / menu / DateMenu.js
index f04aab5..5d90742 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * Ext JS Library 3.0.3
+ * Ext JS Library 3.1.0
  * Copyright(c) 2006-2009 Ext JS, LLC
  * licensing@extjs.com
  * http://www.extjs.com/license
@@ -97,6 +97,7 @@
          * @param {Date} date The selected date\r
          */\r
         this.relayEvents(this.picker, ['select']);\r
+        this.on('show', this.picker.focus, this.picker);\r
         this.on('select', this.menuHide, this);\r
         if(this.handler){\r
             this.on('select', this.handler, this.scope || this);\r