diff --git a/src/basic/BasicView.js b/src/basic/BasicView.js index 38603af..5513c22 100644 --- a/src/basic/BasicView.js +++ b/src/basic/BasicView.js @@ -146,33 +146,58 @@ function BasicView(element, calendar, viewName) { var contentClass = tm + "-widget-content"; var month = t.start.getMonth(); var today = clearTime(new Date()); + var cellDate; // not to be confused with local function. TODO: better names + var cellClasses; var cell; - var date; html += "
| "; } + for (i=0; i | "; } + html += " |
|---|---|
| " + "" + " | "; } + for (j=0; j" +
" ";
if (showNumbers) {
- html += "";
+ html += " " + cellDate.getDate() + " ";
}
html += "" +
" " +
" | ";
}
+
html += "