projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df1a615
)
Roo/bootstrap/Calendar.js
author
Edward
<edward@roojs.com>
Thu, 25 Sep 2014 03:03:34 +0000
(11:03 +0800)
committer
Edward
<edward@roojs.com>
Thu, 25 Sep 2014 03:03:34 +0000
(11:03 +0800)
Roo/bootstrap/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Calendar.js
b/Roo/bootstrap/Calendar.js
index
9e442c2
..
5072e3d
100644
(file)
--- a/
Roo/bootstrap/Calendar.js
+++ b/
Roo/bootstrap/Calendar.js
@@
-615,7
+615,7
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
var crow = false;
var rows = [];
for(var i =0; i < cells.length; i++) {
- cells[i].row =
cells[i].row * 1 + 1
;
+ cells[i].row =
(typeof(cells[i].row)) ? 1 : (cells[i].row + 1)
;
if (!crow) {
crow = {
start : cells[i],