projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
976ec78
)
Roo/bootstrap/Calendar.js
author
Edward
<edward@roojs.com>
Thu, 6 Mar 2014 07:51:00 +0000
(15:51 +0800)
committer
Edward
<edward@roojs.com>
Thu, 6 Mar 2014 07:51:00 +0000
(15:51 +0800)
Roo/bootstrap/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Calendar.js
b/Roo/bootstrap/Calendar.js
index
bd5a414
..
6f494a3
100644
(file)
--- a/
Roo/bootstrap/Calendar.js
+++ b/
Roo/bootstrap/Calendar.js
@@
-661,13
+661,17
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
},
onLoad: function () {
-
//
this.calevents = [];
+ this.calevents = [];
if(this.store.getCount() > 0){
this.store.data.each(function(d){
- Roo.log(d);
+ this.addItem({
+ start: new Date(),
+ end : new Date().add(Date.DAY, 2),
+ title : 'test'
+ });
});
}
-
//
this.renderEvents();
+ this.renderEvents();
}
});