projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f5180c
)
Roo/bootstrap/DateField.js
author
Edward
<edward@roojs.com>
Thu, 23 Apr 2015 05:27:16 +0000
(13:27 +0800)
committer
Edward
<edward@roojs.com>
Thu, 23 Apr 2015 05:27:16 +0000
(13:27 +0800)
Roo/bootstrap/DateField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/DateField.js
b/Roo/bootstrap/DateField.js
index
8d6026a
..
316dfbb
100644
(file)
--- a/
Roo/bootstrap/DateField.js
+++ b/
Roo/bootstrap/DateField.js
@@
-421,7
+421,9
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
year = parseInt(year/10, 10) * 10;
- this.picker().select('>.datepicker-years th.switch', true).first().dom.innerHTML = year + '-' + (year + 9);
+ if(!this.singleMode){
+ this.picker().select('>.datepicker-years th.switch', true).first().dom.innerHTML = year + '-' + (year + 9);
+ }
this.picker().select('>.datepicker-years tbody td',true).first().dom.innerHTML = '';