diff options
Diffstat (limited to 'web/app/view/device/DeviceDialogController.js')
-rw-r--r-- | web/app/view/device/DeviceDialogController.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/app/view/device/DeviceDialogController.js b/web/app/view/device/DeviceDialogController.js index 106aee654..75f0a14ca 100644 --- a/web/app/view/device/DeviceDialogController.js +++ b/web/app/view/device/DeviceDialogController.js @@ -27,6 +27,9 @@ Ext.define('Traccar.view.device.DeviceDialogController', { store.add(device); } store.sync({ + success: function() { + store.reload(); // workaround for selection problem + }, failure: function(batch) { store.rejectChanges(); // TODO Traccar.ErrorManager.check(true, batch.exceptions[0].getResponse()); |