diff options
author | Abyss777 <abyss@fox5.ru> | 2016-06-24 09:36:20 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-06-24 09:36:20 +0500 |
commit | 52e7002ed39c333884529c3a0e8b4c6d23f0115e (patch) | |
tree | 57e93aa9381b391e0e3e18f8208a7e2b364d5c8d /web/app/view | |
parent | bd2e0fdc6fe222316e9e740aa265b6d132d407b6 (diff) | |
download | trackermap-server-52e7002ed39c333884529c3a0e8b4c6d23f0115e.tar.gz trackermap-server-52e7002ed39c333884529c3a0e8b4c6d23f0115e.tar.bz2 trackermap-server-52e7002ed39c333884529c3a0e8b4c6d23f0115e.zip |
- Reverted changes in web-client
- Removed duplicate flag
Diffstat (limited to 'web/app/view')
-rw-r--r-- | web/app/view/DevicesController.js | 2 | ||||
-rw-r--r-- | web/app/view/GroupsController.js | 2 | ||||
-rw-r--r-- | web/app/view/UsersController.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/DevicesController.js b/web/app/view/DevicesController.js index 8b35fd859..cf31dd7bb 100644 --- a/web/app/view/DevicesController.js +++ b/web/app/view/DevicesController.js @@ -125,7 +125,7 @@ Ext.define('Traccar.view.DevicesController', { var empty = selected.getCount() === 0; this.lookupReference('toolbarEditButton').setDisabled(empty); this.lookupReference('toolbarRemoveButton').setDisabled(empty); - this.lookupReference('toolbarGeofencesButton').setDisabled(empty || Traccar.app.withoutGeofences); + this.lookupReference('toolbarGeofencesButton').setDisabled(empty); this.lookupReference('deviceCommandButton').setDisabled(empty || (selected.getLastSelected().get('status') !== 'online')); if (!empty) { this.fireEvent('selectDevice', selected.getLastSelected(), true); diff --git a/web/app/view/GroupsController.js b/web/app/view/GroupsController.js index ecacdb7f6..bc713bb6d 100644 --- a/web/app/view/GroupsController.js +++ b/web/app/view/GroupsController.js @@ -79,6 +79,6 @@ Ext.define('Traccar.view.GroupsController', { var disabled = selected.length > 0; this.lookupReference('toolbarEditButton').setDisabled(disabled); this.lookupReference('toolbarRemoveButton').setDisabled(disabled); - this.lookupReference('toolbarGeofencesButton').setDisabled(disabled || Traccar.app.withoutGeofences); + this.lookupReference('toolbarGeofencesButton').setDisabled(disabled); } }); diff --git a/web/app/view/UsersController.js b/web/app/view/UsersController.js index d8e42570d..acba66b4d 100644 --- a/web/app/view/UsersController.js +++ b/web/app/view/UsersController.js @@ -120,6 +120,6 @@ Ext.define('Traccar.view.UsersController', { this.lookupReference('toolbarRemoveButton').setDisabled(disabled); this.lookupReference('userDevicesButton').setDisabled(disabled); this.lookupReference('userGroupsButton').setDisabled(disabled); - this.lookupReference('userGeofencesButton').setDisabled(disabled || Traccar.app.withoutGeofences); + this.lookupReference('userGeofencesButton').setDisabled(disabled); } }); |