projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e8dbfa4
)
Roo/grid/Calendar.js
author
Alan Knowles
<alan@roojs.com>
Wed, 9 Apr 2014 11:07:36 +0000
(19:07 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 9 Apr 2014 11:07:36 +0000
(19:07 +0800)
Roo/grid/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/grid/Calendar.js
b/Roo/grid/Calendar.js
index
6c62a2c
..
4526b52
100644
(file)
--- a/
Roo/grid/Calendar.js
+++ b/
Roo/grid/Calendar.js
@@
-866,8
+866,14
@@
Roo.extend(Roo.grid.Calendar, Roo.grid.Grid, {
this.calevents = [];
if(this.eventStore.getCount() > 0){
+
+ var i =0;
+
this.eventStore.data.each(function(d){
-
+ if (i>0) {
+ return;
+ }
+ i++;
// FIXME..
var add = Roo.apply({}, d.data);
@@
-886,7
+892,7
@@
Roo.extend(Roo.grid.Calendar, Roo.grid.Grid, {
add.id = add.id || d.id;
add.title = add.title || '??';
this.addItem(add);
- return true;
+
// other than the 'required' coluns, we should just pass the data from the store.