Roo/form/MonthField.js
authorChris <chris@roojs.com>
Thu, 18 Oct 2012 10:26:44 +0000 (18:26 +0800)
committerChris <chris@roojs.com>
Thu, 18 Oct 2012 10:26:44 +0000 (18:26 +0800)
Roo/form/MonthField.js

index 7ad4ed4..4d587a4 100644 (file)
@@ -323,10 +323,10 @@ dateField.setValue('2006-5-4');
         var p = m.picker;
         p.setValue(this.getValue() || new Date());
         m.show(this.el, "tl-bl?");
-        
+        Roo.select('.x-date-picker table', true).first().dom.style.visibility = "hidden";
         (function() {
             //Roo.log(Roo.select('.x-date-picker table'));
-            Roo.select('.x-date-picker table', true).first().dom.style.visibility = "hidden";
+            
             p.showMonthPicker();
         }).defer(100);