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