Send a request to create an account on the server

This commit is contained in:
Pierre
2018-04-11 10:52:06 +02:00
parent 99adb1ec0a
commit 7015e10dd3
6 changed files with 127 additions and 1 deletions

View File

@ -441,6 +441,20 @@ var ComunicWeb = {
*/
components: {
/**
* Account component
*/
account: {
/**
* Interface
*/
interface: {
//TODO : implement
},
},
/**
* Menubar
*/

View File

@ -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)
}