Roo/bootstrap/MonthField.js
authorEdward <edward@roojs.com>
Mon, 31 Aug 2015 05:13:17 +0000 (13:13 +0800)
committerEdward <edward@roojs.com>
Mon, 31 Aug 2015 05:13:17 +0000 (13:13 +0800)
Roo/bootstrap/MonthField.js

index 4590431..a48e02e 100644 (file)
@@ -115,6 +115,11 @@ Roo.extend(Roo.bootstrap.MonthField, Roo.bootstrap.Input,  {
         
     },
     
+    getValue: function()
+    {
+        return this.formatDate(this.date);
+    },
+    
     onClick: function(e) 
     {
         e.stopPropagation();
@@ -255,11 +260,6 @@ Roo.extend(Roo.bootstrap.MonthField, Roo.bootstrap.Input,  {
         this.update();
     },
 
-    getValue: function()
-    {
-        return this.formatDate(this.date);
-    },
-    
     fireKey: function(e)
     {
         if (!this.picker().isVisible()){