Roo/form/MonthField.js
authorChris <chris@roojs.com>
Thu, 18 Oct 2012 08:41:24 +0000 (16:41 +0800)
committerChris <chris@roojs.com>
Thu, 18 Oct 2012 08:41:24 +0000 (16:41 +0800)
Roo/form/MonthField.js

index fd89256..2e20ac6 100644 (file)
@@ -318,8 +318,11 @@ dateField.setValue('2006-5-4');
         this.menu.on(Roo.apply({}, this.menuListeners, {
             scope:this
         }));
+        
         this.menu.picker.setValue(this.getValue() || new Date());
+        
         this.menu.picker.hideMonthPicker(this.hideMonthPicker);
+        
         this.menu.show(this.el, "tl-bl?");
     },