X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=roojs-bootstrap-debug.js;h=f547fb4135a357ea2ab34b137e12a21bc27fb443;hp=b1fadd935146af428d9658e7837913461d93fa03;hb=decbd95de2b8ac4505902e151302adbe67480a7b;hpb=b2f4341f395557e892614d0316541238c8bcf7f3 diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index b1fadd9351..f547fb4135 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -21954,6 +21954,9 @@ Roo.extend(Roo.bootstrap.DateField, Roo.bootstrap.Input, { break; case 'span': if (className.indexOf('disabled') < 0) { + if (!this.viewDate) { + this.viewDate = new Date(); + } this.viewDate.setUTCDate(1); if (className.indexOf('month') > -1) { this.viewDate.setUTCMonth(Roo.bootstrap.DateField.dates[this.language].monthsShort.indexOf(html));