mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-26 16:26:44 +03:00
Enable AbstractViewSettings
This commit is contained in:
parent
92cec80b73
commit
97bc3ef585
20 changed files with 149 additions and 212 deletions
|
|
@ -10,6 +10,15 @@ class RemoteAdminFetch extends AbstractFetchRemote {
|
|||
this.request('AdminSettingsUpdate', fCallback, oData);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} key
|
||||
* @param {?scalar} value
|
||||
* @param {?Function} fCallback
|
||||
*/
|
||||
saveSetting(key, value, fCallback) {
|
||||
this.saveConfig({[key]: value}, fCallback);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default new RemoteAdminFetch();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue