From a7bfd5431b73b5d634b769e64483e81815364bca Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Fri, 28 Jul 2017 08:58:54 +0500 Subject: Do not show geofenceId if it is unknown --- web/app/view/dialog/SelectDeviceController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app/view/dialog/SelectDeviceController.js') 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) { -- cgit v1.2.3