projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a299c78
)
Roo/bootstrap/Calendar.js
author
Alan Knowles
<alan@roojs.com>
Tue, 18 Feb 2014 04:47:30 +0000
(12:47 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 18 Feb 2014 04:47:30 +0000
(12:47 +0800)
Roo/bootstrap/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Calendar.js
b/Roo/bootstrap/Calendar.js
index
bbe4ce0
..
426365d
100644
(file)
--- a/
Roo/bootstrap/Calendar.js
+++ b/
Roo/bootstrap/Calendar.js
@@
-215,6
+215,18
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
return cfg;
+ },
+
+
+ initEvents : function()
+ {
+ this.resize();
+
+
+ },
+ resize : function() {
+ var sz = this.el.getSize();
+ this.el.select('.fc-day-header',true).setWidth(sz / 7);
}
});