projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4903c6
)
Roo/bootstrap/Calendar.js
author
Alan Knowles
<alan@roojs.com>
Tue, 18 Feb 2014 06:08:09 +0000
(14:08 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 18 Feb 2014 06:08:09 +0000
(14:08 +0800)
Roo/bootstrap/Calendar.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Calendar.js
b/Roo/bootstrap/Calendar.js
index
b6ac4e9
..
4ae9d92
100644
(file)
--- a/
Roo/bootstrap/Calendar.js
+++ b/
Roo/bootstrap/Calendar.js
@@
-268,7
+268,9
@@
Roo.extend(Roo.bootstrap.Calendar, Roo.bootstrap.Component, {
showPrevMonth : function(e){
this.update(this.activeDate.add("mo", -1));
},
-
+ showToday : function(e){
+ this.update(new Date());
+ },
// private
showNextMonth : function(e){
this.update(this.activeDate.add("mo", 1));