projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8f9d92
)
Roo/DatePicker.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 10 Sep 2010 09:54:22 +0000
(17:54 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 10 Sep 2010 09:54:22 +0000
(17:54 +0800)
Roo/DatePicker.js
patch
|
blob
|
history
diff --git
a/Roo/DatePicker.js
b/Roo/DatePicker.js
index
fe6d3f8
..
d3d197e
100644
(file)
--- a/
Roo/DatePicker.js
+++ b/
Roo/DatePicker.js
@@
-298,6
+298,9
@@
Roo.extend(Roo.DatePicker, Roo.Component, {
var today = (new Date()).dateFormat(this.format);
var baseTb = new Roo.Toolbar(this.el.child("td.x-date-bottom", true));
+ if (this.showClear) {
+ baseTb.add( new Roo.Toolbar.Fill());
+ }
baseTb.add({
text: String.format(this.todayText, today),
tooltip: String.format(this.todayTip, today),