diff options
author | Abyss777 <abyss@fox5.ru> | 2017-09-20 10:52:31 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-09-20 10:52:31 +0500 |
commit | ac102b14c7ef665542eeb9f6aae69c6ccb023929 (patch) | |
tree | b96a5f22baf7f3c13ca8cd3bc27c050d1f6ee20a /web/app/view/DeviceMenuController.js | |
parent | 3a5e334b50bf35d11743d937c9fae2fb8c7829ec (diff) | |
download | trackermap-web-ac102b14c7ef665542eeb9f6aae69c6ccb023929.tar.gz trackermap-web-ac102b14c7ef665542eeb9f6aae69c6ccb023929.tar.bz2 trackermap-web-ac102b14c7ef665542eeb9f6aae69c6ccb023929.zip |
- Change string
- Use "up" method
- Remove spaces
Diffstat (limited to 'web/app/view/DeviceMenuController.js')
-rw-r--r-- | web/app/view/DeviceMenuController.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/web/app/view/DeviceMenuController.js b/web/app/view/DeviceMenuController.js index 58749a5e..4fa00bee 100644 --- a/web/app/view/DeviceMenuController.js +++ b/web/app/view/DeviceMenuController.js @@ -45,7 +45,7 @@ Ext.define('Traccar.view.DeviceMenuController', { baseObjectName: 'deviceId', linkObjectName: 'geofenceId', storeName: 'Geofences', - baseObject: this.getView().ownerCmp.device.getId() + baseObject: this.getView().up('deviceMenu').device.getId() } }).show(); }, @@ -58,7 +58,7 @@ Ext.define('Traccar.view.DeviceMenuController', { baseObjectName: 'deviceId', linkObjectName: 'notificationId', storeName: 'Notifications', - baseObject: this.getView().ownerCmp.device.getId() + baseObject: this.getView().up('deviceMenu').device.getId() } }).show(); }, @@ -71,7 +71,7 @@ Ext.define('Traccar.view.DeviceMenuController', { baseObjectName: 'deviceId', linkObjectName: 'attributeId', storeName: 'ComputedAttributes', - baseObject: this.getView().ownerCmp.device.getId() + baseObject: this.getView().up('deviceMenu').device.getId() } }).show(); }, @@ -84,7 +84,7 @@ Ext.define('Traccar.view.DeviceMenuController', { baseObjectName: 'deviceId', linkObjectName: 'driverId', storeName: 'Drivers', - baseObject: this.getView().ownerCmp.device.getId() + baseObject: this.getView().up('deviceMenu').device.getId() } }).show(); }, @@ -97,7 +97,7 @@ Ext.define('Traccar.view.DeviceMenuController', { baseObjectName: 'deviceId', linkObjectName: 'commandId', storeName: 'Commands', - baseObject: this.getView().ownerCmp.device.getId() + baseObject: this.getView().up('deviceMenu').device.getId() } }).show(); } |