aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-04-18 09:01:50 +0500
committerAbyss777 <abyss@fox5.ru>2017-04-18 09:01:50 +0500
commit6c8e4716489bc5d05a0c7794ee1cee342de417e3 (patch)
tree07e5f41ac1629633df55819bb2c93b3fda384b0b /web/app/view/dialog
parent22b764a71a450e4f4e8ad1a0439cf708e6bcd952 (diff)
downloadtrackermap-web-6c8e4716489bc5d05a0c7794ee1cee342de417e3.tar.gz
trackermap-web-6c8e4716489bc5d05a0c7794ee1cee342de417e3.tar.bz2
trackermap-web-6c8e4716489bc5d05a0c7794ee1cee342de417e3.zip
Remove shared prefix
Diffstat (limited to 'web/app/view/dialog')
-rw-r--r--web/app/view/dialog/AttributeController.js4
1 files changed, 2 insertions, 2 deletions
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);