aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/Attribute.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-04-04 17:16:05 +0500
committerAbyss777 <abyss@fox5.ru>2017-04-04 17:16:05 +0500
commit8c4337fb90487ce9986ab67fcb695a53e90f74d9 (patch)
treea0447f3dec02b4a2ebd6090ea3c739087668d828 /web/app/view/dialog/Attribute.js
parent247a6bd4193077bd77608aca87d4e912f2c028ac (diff)
downloadetbsa-traccar-web-8c4337fb90487ce9986ab67fcb695a53e90f74d9.tar.gz
etbsa-traccar-web-8c4337fb90487ce9986ab67fcb695a53e90f74d9.tar.bz2
etbsa-traccar-web-8c4337fb90487ce9986ab67fcb695a53e90f74d9.zip
Implement known attributes
Diffstat (limited to 'web/app/view/dialog/Attribute.js')
-rw-r--r--web/app/view/dialog/Attribute.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/web/app/view/dialog/Attribute.js b/web/app/view/dialog/Attribute.js
index 993c2b1..7f0de78 100644
--- a/web/app/view/dialog/Attribute.js
+++ b/web/app/view/dialog/Attribute.js
@@ -27,19 +27,27 @@ Ext.define('Traccar.view.dialog.Attribute', {
items: {
xtype: 'form',
+ listeners: {
+ validitychange: 'onValidityChange'
+ },
items: [{
xtype: 'textfield',
+ reference: 'nameTextField',
name: 'name',
+ allowBlank: false,
fieldLabel: Strings.sharedName
}, {
xtype: 'textfield',
name: 'value',
+ reference: 'valueField',
+ allowBlank: false,
fieldLabel: Strings.stateValue
}]
},
buttons: [{
glyph: 'xf00c@FontAwesome',
+ reference: 'saveButton',
tooltip: Strings.sharedSave,
tooltipType: 'title',
minWidth: 0,