diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/app/view/AttributesController.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/AttributesController.js b/web/app/view/AttributesController.js index e65d2eaa3..90dc334b1 100644 --- a/web/app/view/AttributesController.js +++ b/web/app/view/AttributesController.js @@ -24,10 +24,10 @@ Ext.define('Traccar.view.AttributesController', { ], init: function () { - var store, i = 0; + var store, propertyName, i = 0; store = Ext.create('Traccar.store.Attributes'); store.setProxy(Ext.create('Ext.data.proxy.Memory')); - for(var propertyName in this.getView().attributes) { + for (propertyName in this.getView().attributes) { store.add(Ext.create('Traccar.model.Attribute', { priority: i++, name: propertyName, |