From 6239d43f05892fed4bd6c17ce1af249c9589e9b5 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Wed, 4 Jul 2018 11:39:33 +0200 Subject: [PATCH] Added backward link --- assets/js/pages/groups/pages/settings.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/assets/js/pages/groups/pages/settings.js b/assets/js/pages/groups/pages/settings.js index de82aca5..fbf61841 100644 --- a/assets/js/pages/groups/pages/settings.js +++ b/assets/js/pages/groups/pages/settings.js @@ -21,6 +21,17 @@ ComunicWeb.pages.groups.pages.settings = { class: "group-settings-container col-md-6" }); + //Add backward link + var backwardLink = createElem2({ + appendTo: settingsContainer, + type: "div", + class: "a", + innerHTML: " Go back to the group" + }); + backwardLink.addEventListener("click", function(e){ + openPage("groups/" + id); + }); + //Add title createElem2({ appendTo: settingsContainer,