Roo/bootstrap/DateField.js
authorEdward <edward@roojs.com>
Mon, 31 Aug 2015 03:49:16 +0000 (11:49 +0800)
committerEdward <edward@roojs.com>
Mon, 31 Aug 2015 03:49:16 +0000 (11:49 +0800)
Roo/bootstrap/DateField.js

index 10cd8b8..9b33be9 100644 (file)
@@ -717,6 +717,7 @@ Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input,  {
                     this.viewDate.setUTCDate(1);
                     if (className.indexOf('month') > -1) {
                         this.viewDate.setUTCMonth(Roo.bootstrap.DateField.dates[this.language].monthsShort.indexOf(html));
+                        Roo.log(this.viewDate);
                     } else {
                         var year = parseInt(html, 10) || 0;
                         this.viewDate.setUTCFullYear(year);