Bug 5741 - Extra comma causes JavaScript error in Internet Explorer

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Reed Wade 2011-02-15 14:00:00 +13:00 committed by Chris Cormack
parent eaf4cfe6b8
commit 1f0e0c5de1
9 changed files with 13 additions and 13 deletions

0
-- Normal file
View file

View file

@ -14,7 +14,7 @@
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
button : "newduedate_button",
disableFunc : validate1,
dateStatusFunc : validate1,
dateStatusFunc : validate1
}
);
//]]>
@ -22,4 +22,4 @@
<p><label>Forgive fines on return: <input type="checkbox" name="exemptfine" value="1" /></label></p>
</td>
</tr>
</tfoot>
</tfoot>

View file

@ -170,7 +170,7 @@
inputField : "budget_period_enddate",
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
button : "openCalendarTo",
align : "Tl",
align : "Tl"
});
</script>
<div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>

View file

@ -114,7 +114,7 @@ to add to Batch <!-- TMPL_VAR NAME="batch_id" -->
inputField : "dateto",
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
button : "openCalendarTo",
align : "Tl",
align : "Tl"
});
</script>
<div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>

View file

@ -307,7 +307,7 @@ function checkMultiHold() {
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
button : "CalendarReserveDate",
disableFunc : validate1,
dateStatusFunc : validate1,
dateStatusFunc : validate1
}
);
//]]>
@ -338,7 +338,7 @@ function checkMultiHold() {
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
button : "CalendarExpirationDate",
disableFunc : validate1,
dateStatusFunc : validate1,
dateStatusFunc : validate1
}
);
//]]>

View file

@ -60,7 +60,7 @@
{
button : "openCalendar",
inputField : "date",
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->"
}
);
</script> <span class="required">Required</span>

View file

@ -64,7 +64,7 @@
Calendar.setup(
{
inputField : "date1",
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->"
}
);
</script> <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span></p>
@ -76,7 +76,7 @@
Calendar.setup(
{
inputField : "date2",
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->"
}
);
</script> <span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span></p>

View file

@ -74,7 +74,7 @@ Edit News Item<!-- TMPL_ELSE -->Add News Item<!-- /TMPL_IF --><!-- TMPL_ELSE -->
{
button : "timestampButton",
inputField : "timestamp",
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->"
}
);
</script>
@ -89,7 +89,7 @@ Edit News Item<!-- TMPL_ELSE -->Add News Item<!-- /TMPL_IF --><!-- TMPL_ELSE -->
{
button : "openCalendar",
inputField : "expirationdate",
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->"
}
);
</script>

View file

@ -330,7 +330,7 @@
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
button : "CalendarReserveDate<!-- TMPL_VAR NAME="biblionumber" -->",
disableFunc : validate<!-- TMPL_VAR NAME="biblionumber" -->,
dateStatusFunc : validate<!-- TMPL_VAR NAME="biblionumber" -->,
dateStatusFunc : validate<!-- TMPL_VAR NAME="biblionumber" -->
}
);
//]]>
@ -360,7 +360,7 @@
ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
button : "CalendarExpirationDate_<!-- TMPL_VAR NAME="biblionumber" -->",
disableFunc : validate1,
dateStatusFunc : validate1,
dateStatusFunc : validate1
}
);
//]]>