aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2018-06-26 12:00:15 +0500
committerAbyss777 <abyss@fox5.ru>2018-06-26 13:55:11 +0500
commit17157262fef1c046d116b2270f4e1d335fe9da1b (patch)
tree751583dde65b666e4ab249b26010b7bec6f279b6 /web/app/view/dialog
parentd67213556dcc87453c0ad5cd6f9e8851c477a2f3 (diff)
downloadtrackermap-web-17157262fef1c046d116b2270f4e1d335fe9da1b.tar.gz
trackermap-web-17157262fef1c046d116b2270f4e1d335fe9da1b.tar.bz2
trackermap-web-17157262fef1c046d116b2270f4e1d335fe9da1b.zip
Implement refactored notifications
Diffstat (limited to 'web/app/view/dialog')
-rw-r--r--web/app/view/dialog/Notification.js25
1 files changed, 8 insertions, 17 deletions
diff --git a/web/app/view/dialog/Notification.js b/web/app/view/dialog/Notification.js
index 4cba519c..dc4362d9 100644
--- a/web/app/view/dialog/Notification.js
+++ b/web/app/view/dialog/Notification.js
@@ -49,23 +49,14 @@ Ext.define('Traccar.view.dialog.Notification', {
name: 'always',
fieldLabel: Strings.notificationAlways
}, {
- xtype: 'checkboxfield',
- inputValue: true,
- uncheckedValue: false,
- name: 'web',
- fieldLabel: Strings.notificationWeb
- }, {
- xtype: 'checkboxfield',
- inputValue: true,
- uncheckedValue: false,
- name: 'mail',
- fieldLabel: Strings.notificationMail
- }, {
- xtype: 'checkboxfield',
- inputValue: true,
- uncheckedValue: false,
- name: 'sms',
- fieldLabel: Strings.notificationSms
+ fieldLabel: Strings.notificationNotificators,
+ xtype: 'tagfield',
+ name: 'notificators',
+ maxWidth: Traccar.Style.formFieldWidth,
+ store: 'AllNotificators',
+ valueField: 'type',
+ displayField: 'name',
+ queryMode: 'local'
}]
}, {
xtype: 'fieldset',