Roo/form/MonthField.js
authorChris <chris@roojs.com>
Thu, 18 Oct 2012 09:46:42 +0000 (17:46 +0800)
committerChris <chris@roojs.com>
Thu, 18 Oct 2012 09:46:42 +0000 (17:46 +0800)
Roo/form/MonthField.js

index 3a03b02..733d8ff 100644 (file)
@@ -340,6 +340,9 @@ dateField.setValue('2006-5-4');
                 }else{
                     this.monthPicker.slideOut('t', {duration:.2});
                     Roo.log(3)
+                    p.setValue(new Date().clearTime());
+                    p.fireEvent("select", this, this.value);
+                    m.hide();
                 }
             }
 //            p.setValue(new Date().clearTime());