projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
252c6e2
)
Roo/form/DayPicker.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 22 Mar 2011 09:20:32 +0000
(17:20 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 22 Mar 2011 09:20:32 +0000
(17:20 +0800)
Roo/form/DayPicker.js
patch
|
blob
|
history
diff --git
a/Roo/form/DayPicker.js
b/Roo/form/DayPicker.js
index
4a931f2
..
64cf9e2
100644
(file)
--- a/
Roo/form/DayPicker.js
+++ b/
Roo/form/DayPicker.js
@@
-112,10
+112,21
@@
Roo.extend(Roo.form.DayPicker, Roo.form.Field, {
onClick : function(e){
//this.setChecked(!this.checked);
Roo.get(e.target).toggleClass('x-menu-item-checked');
+ this.refreshValue();
//if(this.el.dom.checked != this.checked){
// this.setValue(this.el.dom.checked);
// }
},
+
+ // private
+ refreshValue : function()
+ {
+ var val = '';
+ viewEl.select('img').each(function(e,i)) {
+ Roo.log(e);
+ Roo.log(e);
+ });
+ }
/**
* Sets the checked state of the checkbox.