disabledDatesRE : this.ddMatch,
disabledDatesText : this.disabledDatesText,
- format : this.format,
+ format : this.useIso ? 'Y-m-d' : this.format,
minText : String.format(this.minText, this.formatDate(this.minValue)),
maxText : String.format(this.maxText, this.formatDate(this.maxValue))
});
-
+ this.menu.on( this.menuListeners, {
+ scope:this
+ });
var m = this.menu;
var p = m.picker;
- p.format = this.useIso ? 'Y-m-d' : this.format; // make sure they are the same..?
- Roo.log('picker set value');
+ Roo.log('picker set value');
Roo.log(this.getValue());
p.setValue(this.getValue() || new Date());
m.show(this.el, 'tl-bl?');
}
}
}
- this.menu.on( this.menuListeners, {
- scope:this
- });
+
p.showMonthPicker.defer(100, p);