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