diff options
author | Abyss777 <abyss@fox5.ru> | 2017-04-04 17:47:42 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-04-04 17:47:42 +0500 |
commit | 577c3c1ae8bbe07110c4a7ce73c1db0b7d5fee82 (patch) | |
tree | 0d3ebf4060a512826dad65bd2b4ed08e6460a73f /web/app/view | |
parent | 247a6bd4193077bd77608aca87d4e912f2c028ac (diff) | |
download | trackermap-web-577c3c1ae8bbe07110c4a7ce73c1db0b7d5fee82.tar.gz trackermap-web-577c3c1ae8bbe07110c4a7ce73c1db0b7d5fee82.tar.bz2 trackermap-web-577c3c1ae8bbe07110c4a7ce73c1db0b7d5fee82.zip |
Suppress events on failure to avoid infinite loop
Diffstat (limited to 'web/app/view')
-rw-r--r-- | web/app/view/permissions/BaseController.js | 4 |
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); } } |