projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14f1c76
)
Roo/form/MonthField.js
author
Chris
<chris@roojs.com>
Thu, 18 Oct 2012 09:38:01 +0000
(17:38 +0800)
committer
Chris
<chris@roojs.com>
Thu, 18 Oct 2012 09:38:01 +0000
(17:38 +0800)
Roo/form/MonthField.js
patch
|
blob
|
history
diff --git
a/Roo/form/MonthField.js
b/Roo/form/MonthField.js
index
31e50e6
..
998cc0c
100644
(file)
--- a/
Roo/form/MonthField.js
+++ b/
Roo/form/MonthField.js
@@
-338,6
+338,10
@@
dateField.setValue('2006-5-4');
this.monthPicker.slideOut('t', {duration:.2});
}
}
+ this.mpSelMonth = (this.activeDate || this.value).getMonth();
+ this.updateMPMonth(this.mpSelMonth);
+ this.mpSelYear = (this.activeDate || this.value).getFullYear();
+ this.updateMPYear(this.mpSelYear);
Roo.log(m.picker.mpSelMonth);
Roo.log(m.picker.mpSelYear);
m.hide();