projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dadc463
)
Roo/bootstrap/DateField.js
author
Edward
<edward@roojs.com>
Mon, 26 May 2014 10:45:31 +0000
(18:45 +0800)
committer
Edward
<edward@roojs.com>
Mon, 26 May 2014 10:45:31 +0000
(18:45 +0800)
Roo/bootstrap/DateField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/DateField.js
b/Roo/bootstrap/DateField.js
index
cff9921
..
51567da
100644
(file)
--- a/
Roo/bootstrap/DateField.js
+++ b/
Roo/bootstrap/DateField.js
@@
-443,7
+443,9
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
this.viewDate = new Date(this.date);
}
- this.time = (typeof(this.time) === 'undefined') ? this.UTCTodayTime() : this.time;
+ if(this.showTime){
+ this.time = (typeof(this.time) === 'undefined') ? this.UTCTodayTime() : this.time;
+ }
this.fill();
},
@@
-587,6
+589,7
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
year += 1;
}
+
},
showMode: function(dir) {