projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5249627
)
Roo/bootstrap/DateField.js
author
edward
<edward@roojs.com>
Tue, 8 Aug 2017 10:58:24 +0000
(18:58 +0800)
committer
edward
<edward@roojs.com>
Tue, 8 Aug 2017 10:58:24 +0000
(18:58 +0800)
Roo/bootstrap/DateField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/DateField.js
b/Roo/bootstrap/DateField.js
index
5447f88
..
a626a81
100644
(file)
--- a/
Roo/bootstrap/DateField.js
+++ b/
Roo/bootstrap/DateField.js
@@
-960,7
+960,10
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
return false;
}
- Roo.log(this.parseDate(value));
+ if(typeof(this.parseDate(value)) == 'undefined'){
+ return false;
+ }
+
if (this.endDate !== Infinity && this.parseDate(value).getTime() > this.endDate.getTime()) {
return false;
}