From 6ddb811f1c2000d3e7f805388b1e02212dd03f2e Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 29 Nov 2016 10:08:32 +0500 Subject: Small cleanup --- web/app/view/NotificationsController.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'web/app/view') diff --git a/web/app/view/NotificationsController.js b/web/app/view/NotificationsController.js index ec9be56f..b920c181 100644 --- a/web/app/view/NotificationsController.js +++ b/web/app/view/NotificationsController.js @@ -44,9 +44,8 @@ Ext.define('Traccar.view.NotificationsController', { }, onCheckChange: function (column, rowIndex, checked, eOpts) { - var record, attributes; + var record, attributes = {}; record = this.getView().getStore().getAt(rowIndex); - attributes = {}; if (record.get('attributes.web')) { attributes.web = 'true'; } -- cgit v1.2.3