From: Alan Knowles Date: Tue, 22 Mar 2011 09:32:01 +0000 (+0800) Subject: Roo/form/DayPicker.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=aa524b0732b2bed7ce30d0012fbc4b84689a1f05 Roo/form/DayPicker.js --- diff --git a/Roo/form/DayPicker.js b/Roo/form/DayPicker.js index 195af1377e..4f6e03c48c 100644 --- a/Roo/form/DayPicker.js +++ b/Roo/form/DayPicker.js @@ -123,7 +123,7 @@ Roo.extend(Roo.form.DayPicker, Roo.form.Field, { { var val = ''; this.viewEl.select('img',true).each(function(e,i,n) { - val += e.is(".x-menu-item-checked") ? String(n) : ' '; + val += e.is(".x-menu-item-checked") ? String(n) : ''; }); this.setValue(val, true); }, @@ -143,6 +143,7 @@ Roo.extend(Roo.form.DayPicker, Roo.form.Field, { if (suppressEvent) { return ; } + // update display.. this.viewEl.select('img',true).each(function(e,i,n) {