aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Notifications.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-11-29 10:03:51 +0500
committerAbyss777 <abyss@fox5.ru>2016-11-29 10:03:51 +0500
commit9289e40a4e32fc0f9a41dea6674ac8b2a2e4d313 (patch)
tree84640852ffbdef6179c7728c0eccd761d5069928 /web/app/view/Notifications.js
parent957b3f0ed0e71ae1312a3790ba0a23c45dd3db5f (diff)
downloadetbsa-traccar-web-9289e40a4e32fc0f9a41dea6674ac8b2a2e4d313.tar.gz
etbsa-traccar-web-9289e40a4e32fc0f9a41dea6674ac8b2a2e4d313.tar.bz2
etbsa-traccar-web-9289e40a4e32fc0f9a41dea6674ac8b2a2e4d313.zip
Improve Notifications handling
Diffstat (limited to 'web/app/view/Notifications.js')
-rw-r--r--web/app/view/Notifications.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/web/app/view/Notifications.js b/web/app/view/Notifications.js
index 250a6b5..795cf32 100644
--- a/web/app/view/Notifications.js
+++ b/web/app/view/Notifications.js
@@ -51,24 +51,14 @@ Ext.define('Traccar.view.Notifications', {
dataIndex: 'attributes.web',
xtype: 'checkcolumn',
listeners: {
- beforeCheckChange: 'onBeforeCheckChange',
checkChange: 'onCheckChange'
- },
- renderer: function (value, metaData, record) {
- var fields = this.dataIndex.split('\.', 2);
- return (new Ext.ux.CheckColumn()).renderer(record.get(fields[0])[fields[1]], metaData);
}
}, {
text: Strings.notificationMail,
dataIndex: 'attributes.mail',
xtype: 'checkcolumn',
listeners: {
- beforeCheckChange: 'onBeforeCheckChange',
checkChange: 'onCheckChange'
- },
- renderer: function (value, metaData, record) {
- var fields = this.dataIndex.split('\.', 2);
- return (new Ext.ux.CheckColumn()).renderer(record.get(fields[0])[fields[1]], metaData);
}
}]
}