Roo/form/MonthField.js
authorChris <chris@roojs.com>
Tue, 16 Oct 2012 10:04:37 +0000 (18:04 +0800)
committerChris <chris@roojs.com>
Tue, 16 Oct 2012 10:04:37 +0000 (18:04 +0800)
Roo/form/MonthField.js

index 10b53cc..dfcbcad 100644 (file)
@@ -301,6 +301,7 @@ dateField.setValue('2006-5-4');
             this.menu = new Roo.menu.DateMenu();
         }
         Roo.apply(this.menu.picker,  {
+            hideMonthPicker : this.hideMonthPicker,
             showClear: this.allowBlank,
             minDate : this.minValue,
             maxDate : this.maxValue,
@@ -311,6 +312,7 @@ dateField.setValue('2006-5-4');
             format : this.format,
             minText : String.format(this.minText, this.formatDate(this.minValue)),
             maxText : String.format(this.maxText, this.formatDate(this.maxValue))
+            
         });
         
         this.menu.on(Roo.apply({}, this.menuListeners, {