projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7602aee
)
Roo/bootstrap/MonthField.js
author
Edward
<edward@roojs.com>
Mon, 31 Aug 2015 08:16:19 +0000
(16:16 +0800)
committer
Edward
<edward@roojs.com>
Mon, 31 Aug 2015 08:16:19 +0000
(16:16 +0800)
Roo/bootstrap/MonthField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/MonthField.js
b/Roo/bootstrap/MonthField.js
index
9c74c84
..
3f49668
100644
(file)
--- a/
Roo/bootstrap/MonthField.js
+++ b/
Roo/bootstrap/MonthField.js
@@
-62,9
+62,6
@@
Roo.extend(Roo.bootstrap.MonthField, Roo.bootstrap.Input, {
this.component = this.el.select('.add-on', true).first() || false;
this.component = (this.component && this.component.length === 0) ? false : this.component;
this.hasInput = this.component && this.inputEL().length;
-
- this.minViewMode = 1;
- this.viewMode = 1;
this.pickerEl = Roo.get(document.body).createChild(Roo.bootstrap.MonthField.template);
@@
-80,6
+77,7
@@
Roo.extend(Roo.bootstrap.MonthField, Roo.bootstrap.Input, {
});
this.fillMonths();
+
this.update();
if(this.isInline) {