aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/edit')
-rw-r--r--web/app/view/edit/CalendarsController.js1
-rw-r--r--web/app/view/edit/DevicesController.js2
-rw-r--r--web/app/view/edit/DriversController.js1
-rw-r--r--web/app/view/edit/NotificationsController.js1
-rw-r--r--web/app/view/edit/SavedCommandsController.js1
5 files changed, 1 insertions, 5 deletions
diff --git a/web/app/view/edit/CalendarsController.js b/web/app/view/edit/CalendarsController.js
index f5822279..d11ec379 100644
--- a/web/app/view/edit/CalendarsController.js
+++ b/web/app/view/edit/CalendarsController.js
@@ -28,5 +28,4 @@ Ext.define('Traccar.view.edit.CalendarsController', {
objectModel: 'Traccar.model.Calendar',
objectDialog: 'Traccar.view.dialog.Calendar',
removeTitle: Strings.sharedCalendar
-
});
diff --git a/web/app/view/edit/DevicesController.js b/web/app/view/edit/DevicesController.js
index 40202e75..a4bbd4ba 100644
--- a/web/app/view/edit/DevicesController.js
+++ b/web/app/view/edit/DevicesController.js
@@ -106,7 +106,7 @@ Ext.define('Traccar.view.edit.DevicesController', {
this.lookupReference('toolbarRemoveButton').setDisabled(empty || readonly || deviceReadonly);
deviceMenu = this.lookupReference('toolbarDeviceMenu');
deviceMenu.device = empty ? null : selected[0];
- this.lookupReference('toolbarDeviceMenu').setDisabled(empty);
+ deviceMenu.setDisabled(empty);
this.lookupReference('deviceCommandButton').setDisabled(empty || readonly);
},
diff --git a/web/app/view/edit/DriversController.js b/web/app/view/edit/DriversController.js
index 2840c2a7..6c8a63cc 100644
--- a/web/app/view/edit/DriversController.js
+++ b/web/app/view/edit/DriversController.js
@@ -28,5 +28,4 @@ Ext.define('Traccar.view.edit.DriversController', {
objectModel: 'Traccar.model.Driver',
objectDialog: 'Traccar.view.dialog.Driver',
removeTitle: Strings.sharedDriver
-
});
diff --git a/web/app/view/edit/NotificationsController.js b/web/app/view/edit/NotificationsController.js
index bf6a6669..ad22a686 100644
--- a/web/app/view/edit/NotificationsController.js
+++ b/web/app/view/edit/NotificationsController.js
@@ -28,5 +28,4 @@ Ext.define('Traccar.view.edit.NotificationsController', {
objectModel: 'Traccar.model.Notification',
objectDialog: 'Traccar.view.dialog.Notification',
removeTitle: Strings.sharedNotification
-
});
diff --git a/web/app/view/edit/SavedCommandsController.js b/web/app/view/edit/SavedCommandsController.js
index 989aeabf..1511661e 100644
--- a/web/app/view/edit/SavedCommandsController.js
+++ b/web/app/view/edit/SavedCommandsController.js
@@ -28,5 +28,4 @@ Ext.define('Traccar.view.edit.SavedCommandsController', {
objectModel: 'Traccar.model.Command',
objectDialog: 'Traccar.view.dialog.SavedCommand',
removeTitle: Strings.sharedSavedCommand
-
});