summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/source/prado/datepicker/datepicker.js
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/Javascripts/source/prado/datepicker/datepicker.js')
-rw-r--r--framework/Web/Javascripts/source/prado/datepicker/datepicker.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Web/Javascripts/source/prado/datepicker/datepicker.js b/framework/Web/Javascripts/source/prado/datepicker/datepicker.js
index 9236c32e..8105823a 100644
--- a/framework/Web/Javascripts/source/prado/datepicker/datepicker.js
+++ b/framework/Web/Javascripts/source/prado/datepicker/datepicker.js
@@ -236,11 +236,11 @@ Prado.WebUI.TDatePicker.prototype =
tbody = document.createElement("tbody");
table.appendChild(tbody);
- for(week=0; week<6; ++week) {
+ for(var week=0; week<6; ++week) {
tr = document.createElement("tr");
tbody.appendChild(tr);
- for(day=0; day<7; ++day) {
+ for(var day=0; day<7; ++day) {
td = document.createElement("td");
td.className = "calendarDate";
text = document.createTextNode(String.fromCharCode(160));
@@ -702,7 +702,7 @@ Prado.WebUI.TDatePicker.prototype =
index++;
}
- for (i = 1; i <= monthLength; i++, index++) {
+ for (var i = 1; i <= monthLength; i++, index++) {
var slot = this.dateSlot[index];
var slotNode = slot.data.parentNode;
slot.value = i;