diff options
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'; } |