Roo/form/MonthField.js
authorAlan Knowles <alan@roojs.com>
Mon, 22 Oct 2012 09:15:20 +0000 (17:15 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 22 Oct 2012 09:15:20 +0000 (17:15 +0800)
Roo/form/MonthField.js

index 4d27172..b024773 100644 (file)
@@ -325,7 +325,7 @@ monthField.setValue('2006-5-4');
         
         var m = this.menu;
         var p = m.picker;
-        o.format = this.useIso ? 'Y-m-d' : this.format;  // make sure they are the same..?
+        p.format = this.useIso ? 'Y-m-d' : this.format;  // make sure they are the same..?
         Roo.log('picker set value');
         Roo.log(this.getValue());
         p.setValue(this.getValue() || new Date());