projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b3f07c
)
Roo/bootstrap/Calendar.js
author
Edward
<edward@roojs.com>
Wed, 5 Mar 2014 12:08:45 +0000
(20:08 +0800)
committer
Edward
<edward@roojs.com>
Wed, 5 Mar 2014 12:08:45 +0000
(20:08 +0800)
Roo/bootstrap/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Calendar.js
b/Roo/bootstrap/Calendar.js
index
e60df6d
..
f1abf89
100644
(file)
--- a/
Roo/bootstrap/Calendar.js
+++ b/
Roo/bootstrap/Calendar.js
@@
-649,6
+649,11
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
getEvents: function (d) {
+ if (!this.store) {
+ throw "can not find store for combo";
+ }
+ this.store = Roo.factory(this.store, Roo.data);
+
this.resize();
this.cells = this.el.select('.fc-day',true);
this.textNodes = this.el.query('.fc-day-number');