aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/SettingsMenuController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/SettingsMenuController.js')
-rw-r--r--web/app/view/SettingsMenuController.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js
index 920356010..c52f0a75e 100644
--- a/web/app/view/SettingsMenuController.js
+++ b/web/app/view/SettingsMenuController.js
@@ -22,7 +22,8 @@ Ext.define('Traccar.view.SettingsMenuController', {
'Traccar.view.LoginController',
'Traccar.view.UserDialog',
'Traccar.view.ServerDialog',
- 'Traccar.view.Users'
+ 'Traccar.view.Users',
+ 'Traccar.view.BaseWindow'
],
init: function () {
@@ -45,12 +46,9 @@ Ext.define('Traccar.view.SettingsMenuController', {
},
onUsersClick: function () {
- Ext.create('Ext.window.Window', {
+ Ext.create('Traccar.view.BaseWindow', {
title: Strings.settingsUsers,
- width: Traccar.Style.windowWidth,
- height: Traccar.Style.windowHeight,
- layout: 'fit',
- modal: true,
+ modal: false,
items: {
xtype: 'usersView'
}