aboutsummaryrefslogtreecommitdiff
path: root/web/app/store
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/store')
-rw-r--r--web/app/store/Devices.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/web/app/store/Devices.js b/web/app/store/Devices.js
index 8ba513792..5084ff554 100644
--- a/web/app/store/Devices.js
+++ b/web/app/store/Devices.js
@@ -24,5 +24,11 @@ Ext.define('Traccar.store.Devices', {
writer: {
writeAllFields: true
}
+ },
+ listeners : {
+ update: function () {
+ devicesPanel = Ext.getCmp('devicesPanel');
+ devicesPanel.fireEvent('selectionchange',devicesPanel.getSelectionModel());
+ }
}
});