Roo/form/MonthField.js
authorChris <chris@roojs.com>
Tue, 16 Oct 2012 09:00:40 +0000 (17:00 +0800)
committerChris <chris@roojs.com>
Tue, 16 Oct 2012 09:00:40 +0000 (17:00 +0800)
Roo/form/MonthField.js

index 47215aa..ec202d8 100644 (file)
@@ -301,7 +301,7 @@ dateField.setValue('2006-5-4');
             this.menu = new Roo.menu.DateMenu();
             Roo.log(1);
         }
-        Roo.log(this.menu.picker.hideMonthPicker(false));
+        
         Roo.apply(this.menu.picker,  {
             
             showClear: this.allowBlank,
@@ -315,7 +315,7 @@ dateField.setValue('2006-5-4');
             minText : String.format(this.minText, this.formatDate(this.minValue)),
             maxText : String.format(this.maxText, this.formatDate(this.maxValue))
         });
-        
+        Roo.log(this.menu.picker.hideMonthPicker(false));
         this.menu.on(Roo.apply({}, this.menuListeners, {
             scope:this
         }));