projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25e4be0
)
Roo/bootstrap/MonthField.js
author
Edward
<edward@roojs.com>
Mon, 31 Aug 2015 05:31:33 +0000
(13:31 +0800)
committer
Edward
<edward@roojs.com>
Mon, 31 Aug 2015 05:31:33 +0000
(13:31 +0800)
Roo/bootstrap/MonthField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/MonthField.js
b/Roo/bootstrap/MonthField.js
index
48590e4
..
bbc7dbb
100644
(file)
--- a/
Roo/bootstrap/MonthField.js
+++ b/
Roo/bootstrap/MonthField.js
@@
-125,6
+125,9
@@
Roo.extend(Roo.bootstrap.MonthField, Roo.bootstrap.Input, {
if(nodeName.toLowerCase() != 'span' || className.indexOf('disabled') > -1 || className.indexOf('month') == -1){
return;
}
+
+ this.selected = target;
+
var v = Roo.bootstrap.MonthField.dates[this.language].months[Roo.bootstrap.MonthField.dates[this.language].monthsShort.indexOf(html)];
this.setValue(v);