projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3016dce
)
Roo/bootstrap/Calendar.js
author
Edward
<edward@roojs.com>
Wed, 3 Sep 2014 08:37:08 +0000
(16:37 +0800)
committer
Edward
<edward@roojs.com>
Wed, 3 Sep 2014 08:37:08 +0000
(16:37 +0800)
Roo/bootstrap/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Calendar.js
b/Roo/bootstrap/Calendar.js
index
2179885
..
d566883
100644
(file)
--- a/
Roo/bootstrap/Calendar.js
+++ b/
Roo/bootstrap/Calendar.js
@@
-719,12
+719,14
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
]
};
+ var more = this.cells.item(this.cells.indexOf(cells[0])).more;
+
+ if(more.length){
+ return;
+ }
+
if(ev.row > 3){
-// cfg.cn[0].cn[0].html = 'More';
-// Roo.log('cells!!!');
-// Roo.log(cells);
-// Roo.log(this.cells.item(this.cells.indexOf(cells[0])));
-
+ cfg.cn[0].cn[0].html = 'More';
this.cells.item(this.cells.indexOf(cells[0])).more.push(ev);
}