aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-06-29 07:32:37 +0500
committerAbyss777 <abyss@fox5.ru>2016-06-29 07:32:37 +0500
commit36ec2ef7afb334d3b34a6bf0f1df13c5f27456c1 (patch)
treef4f8ab6a9b0ed2ed76b612daddd010a0e419ee42 /web/app
parent77eab0f1f5c9c0f9cb13ac435251911b27bbc122 (diff)
downloadtrackermap-server-36ec2ef7afb334d3b34a6bf0f1df13c5f27456c1.tar.gz
trackermap-server-36ec2ef7afb334d3b34a6bf0f1df13c5f27456c1.tar.bz2
trackermap-server-36ec2ef7afb334d3b34a6bf0f1df13c5f27456c1.zip
Minor fixes
Diffstat (limited to 'web/app')
-rw-r--r--web/app/view/AttributeDialog.js2
-rw-r--r--web/app/view/UserDialog.js2
-rw-r--r--web/app/view/UserDialogController.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/AttributeDialog.js b/web/app/view/AttributeDialog.js
index 6ba7aeedf..be06b7576 100644
--- a/web/app/view/AttributeDialog.js
+++ b/web/app/view/AttributeDialog.js
@@ -22,7 +22,7 @@ Ext.define('Traccar.view.AttributeDialog', {
],
controller: 'baseEditDialog',
- title: Strings.stateName,
+ title: Strings.sharedAttribute,
items: {
xtype: 'form',
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js
index 02c1342ac..b51997262 100644
--- a/web/app/view/UserDialog.js
+++ b/web/app/view/UserDialog.js
@@ -92,6 +92,6 @@ Ext.define('Traccar.view.UserDialog', {
}, {
xtype: 'button',
text : Strings.sharedAttributes,
- handler: 'attributesView'
+ handler: 'showAttributesView'
}]
});
diff --git a/web/app/view/UserDialogController.js b/web/app/view/UserDialogController.js
index b3496fe6a..db495b8ff 100644
--- a/web/app/view/UserDialogController.js
+++ b/web/app/view/UserDialogController.js
@@ -50,7 +50,7 @@ Ext.define('Traccar.view.UserDialogController', {
button.up('window').close();
},
- attributesView: function (button) {
+ showAttributesView: function (button) {
var dialog, record;
dialog = button.up('window').down('form');
record = dialog.getRecord();