examples/bootstrap/calendar.js
authorEdward <edward@roojs.com>
Thu, 6 Mar 2014 08:10:07 +0000 (16:10 +0800)
committerEdward <edward@roojs.com>
Thu, 6 Mar 2014 08:10:07 +0000 (16:10 +0800)
examples/bootstrap/calendar.js

index fd925ed..fe5bcc3 100644 (file)
@@ -61,10 +61,8 @@ Roo.example.calendar = new Roo.XComponent({
                                         xns: Roo.data,
                                         listeners : {
                                             beforeload : function (_self, o){
-                                                Roo.log('beforeload');
-                                                Roo.log(_this);
                                                 o.params = o.params || {};
-                                                //o.params._activeDate = 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");
                                             }
                                         },
                                         remoteSort : true,