aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Notifications.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/Notifications.js')
-rw-r--r--web/app/view/Notifications.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/app/view/Notifications.js b/web/app/view/Notifications.js
index 8efebd038..2ae980afe 100644
--- a/web/app/view/Notifications.js
+++ b/web/app/view/Notifications.js
@@ -43,7 +43,11 @@ Ext.define('Traccar.view.Notifications', {
xtype: 'checkcolumn',
flex: 1,
listeners: {
+ beforeCheckChange: 'onBeforeCheckChange',
checkChange: 'onCheckChange'
+ },
+ renderer: function (value, metaData, record) {
+ return (new Ext.ux.CheckColumn()).renderer(record.getData().attributes.web, metaData);
}
}, {
text: Strings.notificationMail,
@@ -51,7 +55,11 @@ Ext.define('Traccar.view.Notifications', {
xtype: 'checkcolumn',
flex: 1,
listeners: {
+ beforeCheckChange: 'onBeforeCheckChange',
checkChange: 'onCheckChange'
+ },
+ renderer: function (value, metaData, record) {
+ return (new Ext.ux.CheckColumn()).renderer(record.getData().attributes.mail, metaData);
}
}],