aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/app/controller/Root.js3
-rw-r--r--web/app/model/Device.js2
-rw-r--r--web/app/view/edit/Devices.js22
3 files changed, 1 insertions, 26 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js
index a37bc06f..22869f45 100644
--- a/web/app/controller/Root.js
+++ b/web/app/controller/Root.js
@@ -298,8 +298,7 @@ Ext.define('Traccar.controller.Root', {
if (entity) {
entity.set({
status: array[i].status,
- lastUpdate: array[i].lastUpdate,
- geofenceIds: array[i].geofenceIds
+ lastUpdate: array[i].lastUpdate
}, {
dirty: false
});
diff --git a/web/app/model/Device.js b/web/app/model/Device.js
index df6b09be..ca1e07a6 100644
--- a/web/app/model/Device.js
+++ b/web/app/model/Device.js
@@ -59,8 +59,6 @@ Ext.define('Traccar.model.Device', {
name: 'disabled',
type: 'boolean'
}, {
- name: 'geofenceIds'
- }, {
name: 'attributes'
}]
});
diff --git a/web/app/view/edit/Devices.js b/web/app/view/edit/Devices.js
index 21fdb32a..5f54202a 100644
--- a/web/app/view/edit/Devices.js
+++ b/web/app/view/edit/Devices.js
@@ -135,28 +135,6 @@ Ext.define('Traccar.view.edit.Devices', {
hidden: true,
filter: 'boolean'
}, {
- text: Strings.sharedGeofences,
- dataIndex: 'geofenceIds',
- hidden: true,
- filter: {
- type: 'arraylist',
- idField: 'id',
- labelField: 'name',
- store: 'Geofences'
- },
- renderer: function (value) {
- var i, name, result = '';
- if (Ext.isArray(value)) {
- for (i = 0; i < value.length; i++) {
- name = Traccar.AttributeFormatter.geofenceIdFormatter(value[i]);
- if (name) {
- result += name + (i < value.length - 1 ? ', ' : '');
- }
- }
- }
- return result;
- }
- }, {
text: Strings.deviceStatus,
dataIndex: 'status',
filter: {