X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsrc%2FRoo_bootstrap_DateField.js.html;h=2dbef208eff04a82ee063edb9ad1c3332a31693e;hp=43f2d3f66d86ecc786d6b38a32a7ddeef43b5520;hb=9be6e45a0ff049e97ab69d97706b81d8a0500fb1;hpb=decbd95de2b8ac4505902e151302adbe67480a7b
diff --git a/docs/src/Roo_bootstrap_DateField.js.html b/docs/src/Roo_bootstrap_DateField.js.html
index 43f2d3f66d..2dbef208ef 100644
--- a/docs/src/Roo_bootstrap_DateField.js.html
+++ b/docs/src/Roo_bootstrap_DateField.js.html
@@ -727,6 +727,9 @@
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));