projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0707332
)
Roo/form/MonthField.js
author
Alan Knowles
<alan@roojs.com>
Mon, 22 Oct 2012 09:12:56 +0000
(17:12 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 22 Oct 2012 09:12:56 +0000
(17:12 +0800)
Roo/form/MonthField.js
patch
|
blob
|
history
diff --git
a/Roo/form/MonthField.js
b/Roo/form/MonthField.js
index
55e5c9d
..
4d27172
100644
(file)
--- a/
Roo/form/MonthField.js
+++ b/
Roo/form/MonthField.js
@@
-325,7
+325,7
@@
monthField.setValue('2006-5-4');
var m = this.menu;
var p = m.picker;
- o.format = this.useIso ?
this.format : 'Y-m-d';
// make sure they are the same..?
+ o.format = this.useIso ?
'Y-m-d' : this.format;
// make sure they are the same..?
Roo.log('picker set value');
Roo.log(this.getValue());
p.setValue(this.getValue() || new Date());