Skip to content
Snippets Groups Projects
Unverified Commit 5a4a54a9 authored by Sofiane Lasri-Trienpont's avatar Sofiane Lasri-Trienpont Committed by GitHub
Browse files

Bad links fixed

parent 05463a41
No related branches found
No related tags found
No related merge requests found
......@@ -266,7 +266,7 @@
} else {
// On peut publier
$.ajax({
url: '<?=getWebsiteSetting("websiteUrl")?><?=genPageLink("backTasks")?>?Recette::sendRecette',
url: '<?=getWebsiteSetting("websiteUrl")?><?=genPageLink("backTasks")?>?sendRecette',
type: 'POST',
data: {
action: "publishRecette",
......@@ -291,7 +291,7 @@
timeout: false
});
setTimeout(function(){
window.location.href = "<?=getWebsiteSetting("websiteUrl")?><?=genPageLink("recette")?>?id="+json.recetteId;
window.location.href = "<?=getWebsiteSetting("websiteUrl")?><?=genPageLink("recette/?recetteId=")?>"+json.recetteId;
}, 2000);
} else {
SnackBar({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment