Roo.log('beforeload');
Roo.log(_this);
o.params = o.params || {};
- if(!_this.cal){
- return false;
+ var d = new Date().format('Y-m-d');
+ if(_this.cal){
+ d = typeof(_this.cal.activeDate) == 'string' ? _this.cal.activeDate : _this.cal.activeDate.format("Y-m-d");
}
- o.params._activeDate = typeof(_this.cal.activeDate) == 'string' ? _this.cal.activeDate : _this.cal.activeDate.format("Y-m-d");
+ o.params._activeDate = d
}
},
remoteSort : true,