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

index 55f290e..d6084d7 100644 (file)
@@ -84,8 +84,6 @@ Roo.extend(Roo.bootstrap.MonthField, Roo.bootstrap.Input,  {
             v.setStyle('width', '189px');
         });
         
-        this.selected = false;
-        
         this.fillMonths();
         this.update();
         
@@ -128,8 +126,6 @@ Roo.extend(Roo.bootstrap.MonthField, Roo.bootstrap.Input,  {
             return;
         }
         
-        this.selected = target;
-        
         var v = Roo.bootstrap.MonthField.dates[this.language].months[Roo.bootstrap.MonthField.dates[this.language].monthsShort.indexOf(html)];
                 
         this.setValue(v);