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

index ecd2ef2..702de1c 100644 (file)
@@ -299,18 +299,7 @@ dateField.setValue('2006-5-4');
             this.menu = new Roo.menu.DateMenu();
             
         }
-        Roo.apply(this.menu.picker,  {
-            showClear: this.allowBlank,
-            minDate : this.minValue,
-            maxDate : this.maxValue,
-            disabledDatesRE : this.ddMatch,
-            disabledDatesText : this.disabledDatesText,
-            disabledDays : this.disabledDays,
-            disabledDaysText : this.disabledDaysText,
-            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, {
             scope:this