mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 12:25:16 +00:00
Get account image settings from the server
This commit is contained in:
@ -99,6 +99,11 @@ var ComunicWeb = {
|
||||
*/
|
||||
createCalloutElem: function(calloutTitle, calloutMessage, calloutType){},
|
||||
|
||||
/**
|
||||
* Create and return a callout element
|
||||
*/
|
||||
createLoadingCallout: function(target){},
|
||||
|
||||
/**
|
||||
* Create and display a confirmation dialog
|
||||
*/
|
||||
@ -1129,6 +1134,13 @@ var ComunicWeb = {
|
||||
password: {
|
||||
//TODO : implement
|
||||
},
|
||||
|
||||
/**
|
||||
* Account image section
|
||||
*/
|
||||
accountImage: {
|
||||
//TODO : implement
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
|
@ -37,6 +37,24 @@ ComunicWeb.common.messages.createCalloutElem = function(calloutTitle, calloutMes
|
||||
return calloutElem;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create loading callout element
|
||||
*
|
||||
* @param {HTMLElement} target Optionnal, the target of the callout element
|
||||
* @return {HTMLElement} Generated loading callout element
|
||||
*/
|
||||
ComunicWeb.common.messages.createLoadingCallout = function(target){
|
||||
|
||||
var elem = this.createCalloutElem("Loading", "Please wait while this page is loading...", "info");
|
||||
|
||||
if(target)
|
||||
target.appendChild(elem);
|
||||
|
||||
return elem;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Create a confirmation dialog
|
||||
*
|
||||
|
Reference in New Issue
Block a user