mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
migrate all remaining settings setters
This commit is contained in:
+3
-3
@@ -40,17 +40,17 @@ use \OCA\OcSms\Lib\CountryCodes;
|
||||
|
||||
<div>
|
||||
<label for="setting_contact_order">Contact ordering</label>
|
||||
<select name="setting_contact_order" ng-model="vsettings.contactOrderBy" ng-change="setContactOrderSetting()">
|
||||
<select name="setting_contact_order" ng-model="vsettings.contactOrderBy" ng-change="vsettings.sendContactOrder()">
|
||||
<option value="lastmsg">Last message</option>
|
||||
<option value="label">Label</option>
|
||||
</select>
|
||||
<label for "setting_contact_order_reverse">Reverse ?</label>
|
||||
<input type="checkbox" ng-model="vsettings.reverseContactOrder" ng-change="setContactOrderSetting()" />
|
||||
<input type="checkbox" ng-model="vsettings.reverseContactOrder" ng-change="vsettings.sendContactOrder()" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for"setting_notif">Notification settings</label>
|
||||
<select name="setting_notif" ng-model="vsetting.enableNotifications" ng-change="setNotificationSetting()">
|
||||
<select name="setting_notif" ng-model="vsetting.enableNotifications" ng-change="vsettings.sendNotificationFlag()">
|
||||
<option value="1">Enable</option>
|
||||
<option value="0">Disable</option>
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user