From 9289e40a4e32fc0f9a41dea6674ac8b2a2e4d313 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 29 Nov 2016 10:03:51 +0500 Subject: Improve Notifications handling --- web/app/view/Notifications.js | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'web/app/view/Notifications.js') diff --git a/web/app/view/Notifications.js b/web/app/view/Notifications.js index 250a6b5f..795cf326 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); } }] } -- cgit v1.2.3