Fix bug regarding page redirection
parent
aacff9cca1
commit
5c78753828
|
@ -51,7 +51,7 @@ CATEGORIES.push(new Category(
|
||||||
row.appendChild(spacerCell);
|
row.appendChild(spacerCell);
|
||||||
},
|
},
|
||||||
async function addSeason() {
|
async function addSeason() {
|
||||||
window.location.href = "manage/addseason";
|
window.location.href = "/manage/addseason";
|
||||||
},
|
},
|
||||||
async function editSeason() {
|
async function editSeason() {
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ CATEGORIES.push(new Category(
|
||||||
row.appendChild(spacerCell);
|
row.appendChild(spacerCell);
|
||||||
},
|
},
|
||||||
async function addSport() {
|
async function addSport() {
|
||||||
window.location.href = "manage/addsport";
|
window.location.href = "/manage/addsport";
|
||||||
},
|
},
|
||||||
async function editSport() {
|
async function editSport() {
|
||||||
|
|
||||||
|
@ -136,7 +136,7 @@ CATEGORIES.push(new Category(
|
||||||
row.appendChild(sportCell);
|
row.appendChild(sportCell);
|
||||||
},
|
},
|
||||||
async function addDivision() {
|
async function addDivision() {
|
||||||
window.location.href = "manage/adddivision";
|
window.location.href = "/manage/adddivision";
|
||||||
},
|
},
|
||||||
async function editDivision() {
|
async function editDivision() {
|
||||||
|
|
||||||
|
@ -179,7 +179,7 @@ CATEGORIES.push(new Category(
|
||||||
row.appendChild(sportCell);
|
row.appendChild(sportCell);
|
||||||
},
|
},
|
||||||
async function addTeam() {
|
async function addTeam() {
|
||||||
window.location.href = "manage/addteam";
|
window.location.href = "/manage/addteam";
|
||||||
},
|
},
|
||||||
async function editTeam() {
|
async function editTeam() {
|
||||||
|
|
||||||
|
@ -268,7 +268,7 @@ CATEGORIES.push(new Category(
|
||||||
row.appendChild(dateCell);
|
row.appendChild(dateCell);
|
||||||
},
|
},
|
||||||
async function addGame() {
|
async function addGame() {
|
||||||
window.location.href = "manage/addgame";
|
window.location.href = "/manage/addgame";
|
||||||
},
|
},
|
||||||
async function editSeason() {
|
async function editSeason() {
|
||||||
|
|
||||||
|
|
Reference in New Issue