aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Users.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-11-05 00:52:37 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-11-05 00:52:37 +1300
commite4d8fb584dbafce24baed04c7034891c19f839c1 (patch)
treeba83a5ad0b0051e55bfcf2b082f57fdcfb1ff435 /web/app/view/Users.js
parent129363f54e62fa3db041a839fe90a5b104ba881f (diff)
downloadtrackermap-web-e4d8fb584dbafce24baed04c7034891c19f839c1.tar.gz
trackermap-web-e4d8fb584dbafce24baed04c7034891c19f839c1.tar.bz2
trackermap-web-e4d8fb584dbafce24baed04c7034891c19f839c1.zip
Maximize window if it doesn't fit
Diffstat (limited to 'web/app/view/Users.js')
-rw-r--r--web/app/view/Users.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/web/app/view/Users.js b/web/app/view/Users.js
index 7a505dd4..5f52d0e3 100644
--- a/web/app/view/Users.js
+++ b/web/app/view/Users.js
@@ -32,6 +32,13 @@ Ext.define('Traccar.view.Users', {
tbar: {
xtype: 'editToolbar',
items: [{
+ disabled: true,
+ handler: 'onGeofencesClick',
+ reference: 'userGeofencesButton',
+ glyph: 'xf21d@FontAwesome',
+ tooltip: Strings.sharedGeofences,
+ tooltipType: 'title'
+ }, {
text: Strings.deviceTitle,
disabled: true,
handler: 'onDevicesClick',
@@ -42,11 +49,6 @@ Ext.define('Traccar.view.Users', {
handler: 'onGroupsClick',
reference: 'userGroupsButton'
}, {
- text: Strings.sharedGeofences,
- disabled: true,
- handler: 'onGeofencesClick',
- reference: 'userGeofencesButton'
- }, {
text: Strings.sharedNotifications,
disabled: true,
handler: 'onNotificationsClick',