aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-11-29 10:08:32 +0500
committerAbyss777 <abyss@fox5.ru>2016-11-29 10:08:32 +0500
commit6ddb811f1c2000d3e7f805388b1e02212dd03f2e (patch)
treeee78f48e70b88453ae2aee31459c27a6eecf0c5e
parent9289e40a4e32fc0f9a41dea6674ac8b2a2e4d313 (diff)
downloadtrackermap-web-6ddb811f1c2000d3e7f805388b1e02212dd03f2e.tar.gz
trackermap-web-6ddb811f1c2000d3e7f805388b1e02212dd03f2e.tar.bz2
trackermap-web-6ddb811f1c2000d3e7f805388b1e02212dd03f2e.zip
Small cleanup
-rw-r--r--web/app/view/NotificationsController.js3
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';
}