aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-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 ec9be56..b920c18 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';
}