aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/state
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-12 18:56:52 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-12 18:56:52 +1200
commita5133e91d39db417344cc845c74a79be28ff1130 (patch)
tree0aea71771c6dc09640880378daa8c0c4a3dd1bb9 /web/app/view/state
parent4ddc9fbd11395760dc69c04cb806ba173676f56c (diff)
downloadtrackermap-server-a5133e91d39db417344cc845c74a79be28ff1130.tar.gz
trackermap-server-a5133e91d39db417344cc845c74a79be28ff1130.tar.bz2
trackermap-server-a5133e91d39db417344cc845c74a79be28ff1130.zip
Clear state before update
Diffstat (limited to 'web/app/view/state')
-rw-r--r--web/app/view/state/StateController.js1
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') {