aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-04-17 11:24:49 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-04-17 11:24:49 +1200
commit7ae6754ffdfd9ce072e659108a42fff402c97ef8 (patch)
treeb279760334a4209c8962cea197ffd040910bcf07 /web
parentda095966b77c931c5e0f6209cc7ba33cd72a1953 (diff)
downloadtraccar-server-7ae6754ffdfd9ce072e659108a42fff402c97ef8.tar.gz
traccar-server-7ae6754ffdfd9ce072e659108a42fff402c97ef8.tar.bz2
traccar-server-7ae6754ffdfd9ce072e659108a42fff402c97ef8.zip
Fix JavaScript code style issues
Diffstat (limited to 'web')
-rw-r--r--web/app/view/Devices.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/Devices.js b/web/app/view/Devices.js
index 366831849..4131ba6f9 100644
--- a/web/app/view/Devices.js
+++ b/web/app/view/Devices.js
@@ -27,7 +27,7 @@ Ext.define('Traccar.view.Devices', {
controller: 'devices',
rootVisible: false,
- initComponent: function() {
+ initComponent: function () {
this.store = Ext.create('Ext.data.ChainedStore', {
source: 'Devices',
groupField: 'groupId'
@@ -75,7 +75,7 @@ Ext.define('Traccar.view.Devices', {
if (Ext.isNumber(this.getValue())) {
this.up('grid').store.filter({
id: 'groupFilter',
- filterFn: function(item) {
+ filterFn: function (item) {
var groupId, group, groupStore, filter = true;
groupId = item.get('groupId');
groupStore = Ext.getStore('Groups');
@@ -96,7 +96,7 @@ Ext.define('Traccar.view.Devices', {
return !filter;
},
scope: this
- });
+ });
} else {
this.up('grid').store.removeFilter('groupFilter');
}