From f815ea4fd46db6678b3c619308b4a5a56d7e1f06 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sun, 19 May 2019 14:59:36 +0200 Subject: [PATCH] Add create posts form on newest posts page --- assets/js/pages/latestPosts/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/js/pages/latestPosts/main.js b/assets/js/pages/latestPosts/main.js index 68eb77ad..b80caa9f 100644 --- a/assets/js/pages/latestPosts/main.js +++ b/assets/js/pages/latestPosts/main.js @@ -43,6 +43,9 @@ ComunicWeb.pages.latestPosts.main = { class: "col-md-5" }); + // Display create posts form + ComunicWeb.components.posts.form.display("user", userID(), column); + //Create post box var postBox = createElem2({ appendTo: column,