diff options
author | Abyss777 <abyss@fox5.ru> | 2016-11-29 10:08:32 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-11-29 10:08:32 +0500 |
commit | 6ddb811f1c2000d3e7f805388b1e02212dd03f2e (patch) | |
tree | ee78f48e70b88453ae2aee31459c27a6eecf0c5e /web/app | |
parent | 9289e40a4e32fc0f9a41dea6674ac8b2a2e4d313 (diff) | |
download | trackermap-web-6ddb811f1c2000d3e7f805388b1e02212dd03f2e.tar.gz trackermap-web-6ddb811f1c2000d3e7f805388b1e02212dd03f2e.tar.bz2 trackermap-web-6ddb811f1c2000d3e7f805388b1e02212dd03f2e.zip |
Small cleanup
Diffstat (limited to 'web/app')
-rw-r--r-- | web/app/view/NotificationsController.js | 3 |
1 files changed, 1 insertions, 2 deletions
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'; } |