aboutsummaryrefslogtreecommitdiff
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
parent4ddc9fbd11395760dc69c04cb806ba173676f56c (diff)
downloadtraccar-server-a5133e91d39db417344cc845c74a79be28ff1130.tar.gz
traccar-server-a5133e91d39db417344cc845c74a79be28ff1130.tar.bz2
traccar-server-a5133e91d39db417344cc845c74a79be28ff1130.zip
Clear state before update
-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') {