aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Notifications.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-29 18:17:38 +1300
committerGitHub <noreply@github.com>2016-11-29 18:17:38 +1300
commitd10d51eb9def4e9ce77d053503ba3eccd3ad23aa (patch)
treeee78f48e70b88453ae2aee31459c27a6eecf0c5e /web/app/view/Notifications.js
parent957b3f0ed0e71ae1312a3790ba0a23c45dd3db5f (diff)
parent6ddb811f1c2000d3e7f805388b1e02212dd03f2e (diff)
downloadetbsa-traccar-web-d10d51eb9def4e9ce77d053503ba3eccd3ad23aa.tar.gz
etbsa-traccar-web-d10d51eb9def4e9ce77d053503ba3eccd3ad23aa.tar.bz2
etbsa-traccar-web-d10d51eb9def4e9ce77d053503ba3eccd3ad23aa.zip
Merge pull request #342 from Abyss777/improve_notifications
Improve Notifications dialog and controller
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);
}
}]
}