projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba459e1
)
Roo/bootstrap/DateField.js
author
Edward
<edward@roojs.com>
Mon, 9 Mar 2015 03:22:05 +0000
(11:22 +0800)
committer
Edward
<edward@roojs.com>
Mon, 9 Mar 2015 03:22:05 +0000
(11:22 +0800)
Roo/bootstrap/DateField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/DateField.js
b/Roo/bootstrap/DateField.js
index
74018b2
..
a899ad8
100644
(file)
--- a/
Roo/bootstrap/DateField.js
+++ b/
Roo/bootstrap/DateField.js
@@
-537,7
+537,7
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
setValue: function(v)
{
Roo.log(this);
- var d = new Date(v);
+ var d = new Date(v)
.clearTime()
;
if(isNaN(d.getTime())){
this.date = this.viewDate = '';
@@
-545,7
+545,7
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
return;
}
- v = this.startValue = this.formatDate(d)
.clearTime()
;
+ v = this.startValue = this.formatDate(d);
Roo.log(v);
Roo.bootstrap.DateField.superclass.setValue.call(this, v);