projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84f4b2a
)
Roo/bootstrap/MonthField.js
author
Edward
<edward@roojs.com>
Mon, 31 Aug 2015 08:15:30 +0000
(16:15 +0800)
committer
Edward
<edward@roojs.com>
Mon, 31 Aug 2015 08:15:30 +0000
(16:15 +0800)
Roo/bootstrap/MonthField.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/MonthField.js
b/Roo/bootstrap/MonthField.js
index
707adfb
..
9c74c84
100644
(file)
--- a/
Roo/bootstrap/MonthField.js
+++ b/
Roo/bootstrap/MonthField.js
@@
-75,6
+75,10
@@
Roo.extend(Roo.bootstrap.MonthField, Roo.bootstrap.Input, {
this.picker().addClass('datepicker-dropdown');
+ Roo.each(this.picker().select('tbody > tr > td', true).elements, function(v){
+ v.setStyle('width', '189px');
+ });
+
this.fillMonths();
this.update();
@@
-336,8
+340,7
@@
Roo.apply(Roo.bootstrap.MonthField, {
cn: [
{
tag: 'td',
- colspan: '7',
- style: 'width: 189px;'
+ colspan: '7'
}
]
}