diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-27 22:38:52 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-07-27 22:38:52 -0700 |
commit | 2988629a563ad906d9c4307ccf0daf86d8fef210 (patch) | |
tree | 93c43576b92aef1416036ad162b55b6355fe5b9e | |
parent | f9f7cdca533ae3449efb109b03885a21b8a2fad8 (diff) | |
download | trackermap-web-2988629a563ad906d9c4307ccf0daf86d8fef210.tar.gz trackermap-web-2988629a563ad906d9c4307ccf0daf86d8fef210.tar.bz2 trackermap-web-2988629a563ad906d9c4307ccf0daf86d8fef210.zip |
First event on the top
-rw-r--r-- | web/app/controller/Root.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js index c1700aa0..935b1f15 100644 --- a/web/app/controller/Root.js +++ b/web/app/controller/Root.js @@ -295,7 +295,7 @@ Ext.define('Traccar.controller.Root', { var i, store, device; store = Ext.getStore('Events'); for (i = 0; i < array.length; i++) { - store.add(array[i]); + store.insert(0, array[i]); device = Ext.getStore('Devices').getById(array[i].deviceId); if (device) { if (this.soundPressed()) { |