From 080c4650e5d5c6e743e2b667d82ac89e66a68165 Mon Sep 17 00:00:00 2001
From: Sebastien Curt <sebastien.curt@tetras-libre.fr>
Date: Mon, 28 Feb 2022 11:00:45 +0100
Subject: [PATCH] fix hard link to production on project deletion

---
 capsule-prototype/js/online-script.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/capsule-prototype/js/online-script.js b/capsule-prototype/js/online-script.js
index bf13d5c..94ac3ec 100644
--- a/capsule-prototype/js/online-script.js
+++ b/capsule-prototype/js/online-script.js
@@ -1034,8 +1034,8 @@ function removeProject() {
 		dataType: "json",
 		data: {"remove": 1},
 		success: function(retour) {
-			rouletteEnd();   
-			window.location.replace("http://project.memorekall.fr");
+			rouletteEnd();
+			window.app.rekall.Rekall('openUrl', window.app.urls.memberHome);
 		},
 		error: function() {
 			openAlert("Server error. Try again.");
-- 
GitLab