mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 12:25:16 +00:00
Automatically refresh page once a post is created.
This commit is contained in:
@ -473,8 +473,11 @@ ComunicWeb.components.posts.form = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
//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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user