diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-04-10 14:35:29 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-04-10 14:35:29 +1200 |
commit | 48e1381dcdf0431c7f8fe7cb676d6b2838a3f581 (patch) | |
tree | 504932e1b64694fcf421447614b40922b9b5eff6 /web/app/view/DevicesController.js | |
parent | f5a96bb1547dcfbddf26c05143874195b4a50d0f (diff) | |
download | trackermap-server-48e1381dcdf0431c7f8fe7cb676d6b2838a3f581.tar.gz trackermap-server-48e1381dcdf0431c7f8fe7cb676d6b2838a3f581.tar.bz2 trackermap-server-48e1381dcdf0431c7f8fe7cb676d6b2838a3f581.zip |
Implement new search filtering
Diffstat (limited to 'web/app/view/DevicesController.js')
-rw-r--r-- | web/app/view/DevicesController.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/DevicesController.js b/web/app/view/DevicesController.js index 948a5d14e..e9a075ffc 100644 --- a/web/app/view/DevicesController.js +++ b/web/app/view/DevicesController.js @@ -44,7 +44,7 @@ Ext.define('Traccar.view.DevicesController', { onAddClick: function () { var device, dialog; device = Ext.create('Traccar.model.Device'); - device.store = this.getView().getStore(); + device.store = Ext.getStore('Devices'); dialog = Ext.create('Traccar.view.DeviceDialog'); dialog.down('form').loadRecord(device); dialog.show(); |