aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Notifications.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-12-02 15:59:45 +0700
committerAbyss777 <abyss@fox5.ru>2016-12-04 17:47:22 +0700
commita3641de343252f405df7970c97c72fff3e7405b9 (patch)
tree837ca1f3382fd67fd1c2a12b56d3f553e6741242 /web/app/view/Notifications.js
parentf8bf7ede29f2e063a30721e8ed415a6184646424 (diff)
downloadtrackermap-web-a3641de343252f405df7970c97c72fff3e7405b9.tar.gz
trackermap-web-a3641de343252f405df7970c97c72fff3e7405b9.tar.bz2
trackermap-web-a3641de343252f405df7970c97c72fff3e7405b9.zip
Use model instead of attributes to store notifications options
Diffstat (limited to 'web/app/view/Notifications.js')
-rw-r--r--web/app/view/Notifications.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/Notifications.js b/web/app/view/Notifications.js
index 795cf326..419d9616 100644
--- a/web/app/view/Notifications.js
+++ b/web/app/view/Notifications.js
@@ -24,7 +24,7 @@ Ext.define('Traccar.view.Notifications', {
],
controller: 'notificationsController',
- store: 'AllNotifications',
+ store: 'Notifications',
selModel: {
selType: 'cellmodel'
@@ -48,14 +48,14 @@ Ext.define('Traccar.view.Notifications', {
}
}, {
text: Strings.notificationWeb,
- dataIndex: 'attributes.web',
+ dataIndex: 'web',
xtype: 'checkcolumn',
listeners: {
checkChange: 'onCheckChange'
}
}, {
text: Strings.notificationMail,
- dataIndex: 'attributes.mail',
+ dataIndex: 'mail',
xtype: 'checkcolumn',
listeners: {
checkChange: 'onCheckChange'