mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Send a request to the server to update general account settings.
This commit is contained in:
@ -20,6 +20,17 @@ ComunicWeb.components.settings.interface = {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* Set (update) general account settings
|
||||
*
|
||||
* @param {object} settings New general account settings
|
||||
* @param {function} callback Callback function
|
||||
*/
|
||||
setGeneral: function(settings, callback){
|
||||
var apiURI = "settings/set_general";
|
||||
ComunicWeb.common.api.makeAPIrequest(apiURI, settings, true, callback);
|
||||
},
|
||||
|
||||
/**
|
||||
* Check the availability of the virtual directory for user
|
||||
*
|
||||
|
Reference in New Issue
Block a user