projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c611e6
)
Roo/bootstrap/DateField.js
author
edward
<edward@roojs.com>
Tue, 8 Aug 2017 10:56:23 +0000
(18:56 +0800)
committer
edward
<edward@roojs.com>
Tue, 8 Aug 2017 10:56:23 +0000
(18:56 +0800)
Roo/bootstrap/DateField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/DateField.js
b/Roo/bootstrap/DateField.js
index
e08ac64
..
2ecf812
100644
(file)
--- a/
Roo/bootstrap/DateField.js
+++ b/
Roo/bootstrap/DateField.js
@@
-964,6
+964,9
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
return false;
}
+ if (this.startDate !== Infinity && this.parseDate(value).getTime() > this.endDate.getTime()) {
+ return false;
+ }
return true;