this.el.select('.form-control-feedback', true).first().removeClass([this.invalidFeedbackClass, this.validFeedbackClass]);
}
- if(this.disabled || this.allowBlank){
+ if(this.disabled){
return;
}
update: function()
{
-
+ // default minute is a multiple of minuteStep
if(typeof(this.time) === 'undefined') {
- var now = new Date();
- Roo.log('NOW');
- Roo.log(now.format('i'));
- Roo.log('NEW');
- var newMinute = Math.round(parseInt(now.format('i')) / this.minuteStep) * this.minuteStep;
- Roo.log(newMinute);
+ this.time = new Date();
+ this.time = this.time.add(Date.MINUTE, Math.round(parseInt(this.time.format('i')) / this.minuteStep) * this.minuteStep - parseInt(this.time.format('i')));
}
this.time = (typeof(this.time) === 'undefined') ? new Date() : this.time;
// clearInvalid : Roo.emptyFn,
setValue : function(v){
+ Roo.log(this.name);
+ Roo.log(v);
Roo.bootstrap.form.HtmlEditor.superclass.setValue.call(this, v);
this.editorcore.pushValue();
},