projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deb3c70
)
zindex on combos on popovers..
author
Alan Knowles
<alan@roojs.com>
Thu, 11 Feb 2021 06:14:28 +0000
(14:14 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 11 Feb 2021 06:14:28 +0000
(14:14 +0800)
Roo/bootstrap/DateField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/DateField.js
b/Roo/bootstrap/DateField.js
index
2a69509
..
642f112
100644
(file)
--- a/
Roo/bootstrap/DateField.js
+++ b/
Roo/bootstrap/DateField.js
@@
-751,8
+751,8
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
//Roo.log(className);
if (className.indexOf('day') > -1 && className.indexOf('disabled') < 0 ){
var day = parseInt(html, 10) || 1;
- var year = (
new Date(this.viewDate
)).getUTCFullYear(),
- month = (
new Date(this.viewDate
)).getUTCMonth();
+ var year = (
this.viewDate || new Date(
)).getUTCFullYear(),
+ month = (
this.viewDate || new Date(
)).getUTCMonth();
if (className.indexOf('old') > -1) {
if(month === 0 ){