mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-30 12:38:50 +00:00
23 lines
388 B
JavaScript
23 lines
388 B
JavaScript
/**
|
|
* Settings interface
|
|
*
|
|
* @author Pierre HUBERT
|
|
*/
|
|
|
|
ComunicWeb.components.settings.interface = {
|
|
|
|
/**
|
|
* Get general account settings
|
|
*
|
|
* @param {function} callback
|
|
*/
|
|
getGeneral: function(callback){
|
|
|
|
//Make a request over the API
|
|
var apiURI = "settings/get_general";
|
|
var params = {};
|
|
ComunicWeb.common.api.makeAPIrequest(apiURI, params, true, callback);
|
|
|
|
},
|
|
|
|
} |