Skip to content
Snippets Groups Projects
Commit 5ba0499e authored by Julian's avatar Julian
Browse files

Update week_select.js to replace "week" and "cw" instead of appending them to allow alsijil methods

parent c3b4f41a
No related branches found
No related tags found
1 merge request!72Resolve "Use JS template strings in weekselect.js"
This commit is part of merge request !72. Comments created here will be created in the context of that merge request.
var data = getJSONScript("week_select");
function goToCalendarWeek(cw, year) {
window.location.href = data.dest + year + "/" + cw;
window.location.href = data.dest.replace("year", year).replace("cw", cw);
}
function onCalendarWeekChanged(where) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment