diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-27 10:31:04 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-27 10:31:04 +1200 |
commit | 2f8c3c0a31c332457997dfef0837d039074078c3 (patch) | |
tree | 57fcdd531a77f48f0b42706076cfe0d381497ae2 /web | |
parent | 5bec2f79dd470415f721de275ce88870e0988bc2 (diff) | |
download | trackermap-server-2f8c3c0a31c332457997dfef0837d039074078c3.tar.gz trackermap-server-2f8c3c0a31c332457997dfef0837d039074078c3.tar.bz2 trackermap-server-2f8c3c0a31c332457997dfef0837d039074078c3.zip |
Fix new device selection
Diffstat (limited to 'web')
-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()); |