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

index 54a1b62..726f1cf 100644 (file)
@@ -318,10 +318,10 @@ dateField.setValue('2006-5-4');
         this.menu.on(Roo.apply({}, this.menuListeners, {
             scope:this
         }));
-        
+        this.menu.picker.showMonthPicker();
         this.menu.picker.setValue(this.getValue() || new Date());
         
-        this.menu.picker.showMonthPicker();
+        
         
         this.menu.show(this.el, "tl-bl?");
     },