Roo/menu/DateMenu.js
authorChris <chris@roojs.com>
Tue, 16 Oct 2012 09:10:05 +0000 (17:10 +0800)
committerChris <chris@roojs.com>
Tue, 16 Oct 2012 09:10:05 +0000 (17:10 +0800)
Roo/menu/DateMenu.js

index 0d9accc..83dd227 100644 (file)
@@ -34,9 +34,11 @@ Roo.menu.DateMenu = function(config){
      * @param {Date} date
      */
     this.relayEvents(di, ["select"]);
-
+    Roo.log(this);
     this.on('beforeshow', function(){
-        
+        if(this.picker){
+            this.picker.hideMonthPicker(true);
+        }
     }, this);
 };
 Roo.extend(Roo.menu.DateMenu, Roo.menu.Menu, {