aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/DevicesController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-04-10 14:35:29 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2016-04-10 14:35:29 +1200
commit48e1381dcdf0431c7f8fe7cb676d6b2838a3f581 (patch)
tree504932e1b64694fcf421447614b40922b9b5eff6 /web/app/view/DevicesController.js
parentf5a96bb1547dcfbddf26c05143874195b4a50d0f (diff)
downloadtrackermap-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.js2
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();