mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 12:25:16 +00:00
Send a request to create an account on the server
This commit is contained in:
@ -441,6 +441,20 @@ var ComunicWeb = {
|
||||
*/
|
||||
components: {
|
||||
|
||||
/**
|
||||
* Account component
|
||||
*/
|
||||
account: {
|
||||
|
||||
/**
|
||||
* Interface
|
||||
*/
|
||||
interface: {
|
||||
//TODO : implement
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* Menubar
|
||||
*/
|
||||
|
@ -111,4 +111,16 @@ function openConversation(id){
|
||||
ComunicWeb.components.conversations.manager.addConversation({
|
||||
conversationID: id
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Display a notification
|
||||
*
|
||||
* @param {string} message The message of the notification
|
||||
* @param {string} type The type of the notification (danger, info, success, primary)
|
||||
* @param {number} duration The notification duration
|
||||
* @param {string} title The title of the notification
|
||||
*/
|
||||
function notify(message, type, duration, title){
|
||||
ComunicWeb.common.notificationSystem.showNotification(message, type, duration, title)
|
||||
}
|
Reference in New Issue
Block a user