diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-28 17:07:30 +1200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-28 17:07:30 +1200 |
commit | ae4933c07d94d912cdea6944f5865567e12f525c (patch) | |
tree | b22c3a7f6acbc2bc28eafdae69f066cbd1ad9649 /web/app/view/dialog/Notification.js | |
parent | d67213556dcc87453c0ad5cd6f9e8851c477a2f3 (diff) | |
parent | 8e69514733aace4690a9e80a6dd5158d625a66e2 (diff) | |
download | etbsa-traccar-web-ae4933c07d94d912cdea6944f5865567e12f525c.tar.gz etbsa-traccar-web-ae4933c07d94d912cdea6944f5865567e12f525c.tar.bz2 etbsa-traccar-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.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 4cba519..dc4362d 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', |