projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47d5737
)
Roo/form/DateField.js
author
Alan Knowles
<alan@roojs.com>
Mon, 22 Oct 2012 09:26:56 +0000
(17:26 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 22 Oct 2012 09:26:56 +0000
(17:26 +0800)
Roo/form/DateField.js
patch
|
blob
|
history
diff --git
a/Roo/form/DateField.js
b/Roo/form/DateField.js
index
561afba
..
579e9d4
100644
(file)
--- a/
Roo/form/DateField.js
+++ b/
Roo/form/DateField.js
@@
-246,6
+246,10
@@
dateField.setValue('2006-5-4');
this.hiddenField.value = this.formatDate(this.parseDate(date), 'Y-m-d');
}
Roo.form.DateField.superclass.setValue.call(this, this.formatDate(this.parseDate(date)));
+ // make sure the value field is always stored as a date..
+ this.value = this.parseDate(date);
+
+
},
// private