Automatically refresh page once a post is created.

This commit is contained in:
Pierre 2018-01-07 19:22:20 +01:00
parent 5866a8bbba
commit 70232ade84

View File

@ -473,8 +473,11 @@ ComunicWeb.components.posts.form = {
}
//Else
//DEBUG - Temporary behaviour
sendButton.disabled = false;
//Display a success notification
ComunicWeb.common.notificationSystem.showNotification("The post has been successfully created !", "success");
//Refresh current page
ComunicWeb.common.page.refresh_current_page();
});
}
},