projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cd2994
)
Roo/bootstrap/DateField.js
author
Edward
<edward@roojs.com>
Thu, 23 Apr 2015 05:44:24 +0000
(13:44 +0800)
committer
Edward
<edward@roojs.com>
Thu, 23 Apr 2015 05:44:24 +0000
(13:44 +0800)
Roo/bootstrap/DateField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/DateField.js
b/Roo/bootstrap/DateField.js
index
c834d1b
..
adb8fe4
100644
(file)
--- a/
Roo/bootstrap/DateField.js
+++ b/
Roo/bootstrap/DateField.js
@@
-722,6
+722,13
@@
Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, {
this.viewDate.setUTCFullYear(year);
}
+
+ if(this.singleMode){
+ this.setValue(this.formatDate(this.date));
+ this.hide();
+ return;
+ }
+
this.showMode(-1);
this.fill();
}