From 6c8e4716489bc5d05a0c7794ee1cee342de417e3 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 18 Apr 2017 09:01:50 +0500 Subject: Remove shared prefix --- web/app/view/dialog/AttributeController.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/app/view/dialog') diff --git a/web/app/view/dialog/AttributeController.js b/web/app/view/dialog/AttributeController.js index ca1436fd..da5205b4 100644 --- a/web/app/view/dialog/AttributeController.js +++ b/web/app/view/dialog/AttributeController.js @@ -53,8 +53,8 @@ Ext.define('Traccar.view.dialog.AttributeController', { }, onNameChange: function (combobox, newValue) { - var type, config, valueField = this.lookupReference('valueField'), - attribute = combobox.getStore().getById(newValue); + var type, config, attribute, valueField = this.lookupReference('valueField'); + attribute = combobox.getStore().getById(newValue); if (attribute) { type = attribute.get('type'); config = Ext.clone(this.defaultFieldConfig); -- cgit v1.2.3