1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-23 22:32:54 +00:00

Try to migrate some settings send function

This commit is contained in:
Loic Blot
2017-12-28 18:42:51 +01:00
parent 6e21e47bf2
commit 8f017bc20a
4 changed files with 20 additions and 12 deletions
-9
View File
@@ -50,15 +50,6 @@ app.controller('OcSmsController', ['$scope', '$interval', '$timeout', '$compile'
$scope.selectedContact = {};
$scope.lastSearch = '';
// Settings
$scope.sendCountry = function () {
$.post(Sms.generateURL('/set/country'), {'country': $('select[name=intl_phone]').val()});
};
$scope.setMessageLimit = function () {
$.post(Sms.generateURL('/set/msglimit'), {'limit': SmsSettings.messageLimit});
};
$scope.setNotificationSetting = function () {
$.post(Sms.generateURL('/set/notification_state'),
{