diff options
author | Abyss777 <abyss@fox5.ru> | 2018-06-26 12:00:15 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2018-06-26 13:55:11 +0500 |
commit | 17157262fef1c046d116b2270f4e1d335fe9da1b (patch) | |
tree | 751583dde65b666e4ab249b26010b7bec6f279b6 /web/app/view/dialog/Notification.js | |
parent | d67213556dcc87453c0ad5cd6f9e8851c477a2f3 (diff) | |
download | trackermap-web-17157262fef1c046d116b2270f4e1d335fe9da1b.tar.gz trackermap-web-17157262fef1c046d116b2270f4e1d335fe9da1b.tar.bz2 trackermap-web-17157262fef1c046d116b2270f4e1d335fe9da1b.zip |
Implement refactored notifications
Diffstat (limited to 'web/app/view/dialog/Notification.js')
-rw-r--r-- | web/app/view/dialog/Notification.js | 25 |
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', |