projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d4d929
)
examples/bootstrap/calendar.js
author
Edward
<edward@roojs.com>
Thu, 6 Mar 2014 08:11:29 +0000
(16:11 +0800)
committer
Edward
<edward@roojs.com>
Thu, 6 Mar 2014 08:11:29 +0000
(16:11 +0800)
examples/bootstrap/calendar.js
patch
|
blob
|
history
diff --git
a/examples/bootstrap/calendar.js
b/examples/bootstrap/calendar.js
index
a0767aa
..
5711481
100644
(file)
--- a/
examples/bootstrap/calendar.js
+++ b/
examples/bootstrap/calendar.js
@@
-64,7
+64,10
@@
Roo.example.calendar = new Roo.XComponent({
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");
+ if(!_this.cal){
+ return false;
+ }
+ o.params._activeDate = typeof(_this.cal.activeDate) == 'string' ? _this.cal.activeDate : _this.cal.activeDate.format("Y-m-d");
}
},
remoteSort : true,