Roo/form/MonthField.js
authorChris <chris@roojs.com>
Tue, 16 Oct 2012 09:51:56 +0000 (17:51 +0800)
committerChris <chris@roojs.com>
Tue, 16 Oct 2012 09:51:56 +0000 (17:51 +0800)
Roo/form/MonthField.js

index 016d90a..f53b202 100644 (file)
@@ -300,6 +300,9 @@ dateField.setValue('2006-5-4');
         }
         
         
+        this.menu.on(Roo.apply({}, this.menuListeners, {
+            scope:this
+        }));
         this.menu.picker.setValue(this.getValue() || new Date());
         this.menu.show(this.el, "tl-bl?");
     },