if(!_this.form.isValid()){
return;
}
-
+ Roo.log('submit');
+ return;
_this.dialog.el.mask('Sending...');
_this.form.doAction('submit');
listeners : {
select : function (combo, record, index)
{
+ _this.expire_dt.allowBlank = true;
+ _this.expire_dt.el.hide();
+ if(record.data.code == '-2'){
+ _this.expire_dt.allowBlank = false;
+ _this.expire_dt.el.show();
+ }
}
},
xns : Roo.bootstrap,
{
_this.expire_dt = this;
+ var d = new Date();
+ d.setDate(d.getDate() - 1);
+
+ this.setStartDate(d);
+
this.el.setVisibilityMode(Roo.Element.DISPLAY);
this.el.hide();