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

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