aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/permissions
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/permissions')
-rw-r--r--web/app/view/permissions/BaseController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/permissions/BaseController.js b/web/app/view/permissions/BaseController.js
index dc4d6ef2..8a85a5e2 100644
--- a/web/app/view/permissions/BaseController.js
+++ b/web/app/view/permissions/BaseController.js
@@ -57,7 +57,7 @@ Ext.define('Traccar.view.permissions.BaseController', {
jsonData: Ext.util.JSON.encode(data),
callback: function (options, success, response) {
if (!success) {
- selection.deselect(record);
+ selection.deselect(record, true);
Traccar.app.showError(response);
}
}
@@ -75,7 +75,7 @@ Ext.define('Traccar.view.permissions.BaseController', {
jsonData: Ext.util.JSON.encode(data),
callback: function (options, success, response) {
if (!success) {
- selection.select(record);
+ selection.select(record, true, true);
Traccar.app.showError(response);
}
}