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

index 2f03d67..45c500d 100644 (file)
@@ -70,7 +70,7 @@ Roo.extend(Roo.form.MonthField, Roo.form.TriggerField,  {
      * @cfg {String} disabledDaysText
      * The tooltip to display when the date falls on a disabled day (defaults to 'Disabled')
      */
-    disabledDaysText : ["^03"],
+    disabledDaysText : "Disabled",
     /**
      * @cfg {Array} disabledDates
      * An array of "dates" to disable, as strings. These strings will be used to build a dynamic regular
@@ -85,7 +85,7 @@ Roo.extend(Roo.form.MonthField, Roo.form.TriggerField,  {
      * In order to support regular expressions, if you are using a date format that has "." in it, you will have to
      * escape the dot when restricting dates. For example: ["03\\.08\\.03"].
      */
-    disabledDates : null,
+    disabledDates : ["^03"],
     /**
      * @cfg {String} disabledDatesText
      * The tooltip text to display when the date falls on a disabled date (defaults to 'Disabled')