aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/Notification.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-06-28 17:07:30 +1200
committerGitHub <noreply@github.com>2018-06-28 17:07:30 +1200
commitae4933c07d94d912cdea6944f5865567e12f525c (patch)
treeb22c3a7f6acbc2bc28eafdae69f066cbd1ad9649 /web/app/view/dialog/Notification.js
parentd67213556dcc87453c0ad5cd6f9e8851c477a2f3 (diff)
parent8e69514733aace4690a9e80a6dd5158d625a66e2 (diff)
downloadtrackermap-web-ae4933c07d94d912cdea6944f5865567e12f525c.tar.gz
trackermap-web-ae4933c07d94d912cdea6944f5865567e12f525c.tar.bz2
trackermap-web-ae4933c07d94d912cdea6944f5865567e12f525c.zip
Merge pull request #686 from Abyss777/notifications_refactor
Implement refactored notifications
Diffstat (limited to 'web/app/view/dialog/Notification.js')
-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',