aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/SelectDeviceController.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-07-28 08:58:54 +0500
committerAbyss777 <abyss@fox5.ru>2017-07-28 08:58:54 +0500
commita7bfd5431b73b5d634b769e64483e81815364bca (patch)
treefb5d5f35d0c7fc3510f02137def18a27be4d23e4 /web/app/view/dialog/SelectDeviceController.js
parent352159c53b862a78cead3c1447d14eca28bd9c58 (diff)
downloadtrackermap-web-a7bfd5431b73b5d634b769e64483e81815364bca.tar.gz
trackermap-web-a7bfd5431b73b5d634b769e64483e81815364bca.tar.bz2
trackermap-web-a7bfd5431b73b5d634b769e64483e81815364bca.zip
Do not show geofenceId if it is unknown
Diffstat (limited to 'web/app/view/dialog/SelectDeviceController.js')
-rw-r--r--web/app/view/dialog/SelectDeviceController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/dialog/SelectDeviceController.js b/web/app/view/dialog/SelectDeviceController.js
index 9ed5e217..9437991c 100644
--- a/web/app/view/dialog/SelectDeviceController.js
+++ b/web/app/view/dialog/SelectDeviceController.js
@@ -25,7 +25,7 @@ Ext.define('Traccar.view.dialog.SelectDeviceController', {
deviceId = this.lookupReference('deviceField').getValue();
record = this.getView().record.data;
Ext.Ajax.request({
- url: 'api/attributes/computed?deviceId=' + deviceId,
+ url: 'api/attributes/computed/test?deviceId=' + deviceId,
method: 'POST',
jsonData: Ext.util.JSON.encode(record),
callback: function (options, success, response) {