diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-12 18:56:52 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-06-12 18:56:52 +1200 |
commit | a5133e91d39db417344cc845c74a79be28ff1130 (patch) | |
tree | 0aea71771c6dc09640880378daa8c0c4a3dd1bb9 | |
parent | 4ddc9fbd11395760dc69c04cb806ba173676f56c (diff) | |
download | trackermap-server-a5133e91d39db417344cc845c74a79be28ff1130.tar.gz trackermap-server-a5133e91d39db417344cc845c74a79be28ff1130.tar.bz2 trackermap-server-a5133e91d39db417344cc845c74a79be28ff1130.zip |
Clear state before update
-rw-r--r-- | web/app/view/state/StateController.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/app/view/state/StateController.js b/web/app/view/state/StateController.js index be9e1a15b..8dd619b72 100644 --- a/web/app/view/state/StateController.js +++ b/web/app/view/state/StateController.js @@ -48,6 +48,7 @@ Ext.define('Traccar.view.state.StateController', { }; var store = Ext.getStore('Parameters'); + store.removeAll(); for (var key in position) { if (position.hasOwnProperty(key) && key !== 'other') { |