diff options
author | Ruben Pollan <meskio@sindominio.net> | 2017-03-01 02:22:17 +0100 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2017-03-03 10:50:54 +0100 |
commit | 1accda8a692798fccdd67584b1e4950057faddeb (patch) | |
tree | 93d9c2b4a254644100d5415d102c9ff0f63d9deb /ui | |
parent | 9ab90040d4cf87a89f23a92b73ce95cbe8ac983c (diff) |
[feat] add mail enable/disable to bitmask.js
- Resolves: #8782
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/lib/bitmask.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/app/lib/bitmask.js b/ui/app/lib/bitmask.js index 88a6644..86646ee 100644 --- a/ui/app/lib/bitmask.js +++ b/ui/app/lib/bitmask.js @@ -264,6 +264,14 @@ var bitmask = function(){ }, mail: { + enable: function() { + return call(['mail', 'enable']) + }, + + disable: function() { + return call(['mail', 'disable']) + }, + /** * Check the status of the email service * |