aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-08-18 13:56:46 +0500
committerAbyss777 <abyss@fox5.ru>2017-08-18 13:56:46 +0500
commitd1d7d230a0262d9f6ae05f1c4c6718699edb8de3 (patch)
tree79ab1bbf4d7329879c0f7b7dc793f5c49a1cb5b7
parent65116928b2b7a8e5e2b70bf490b3225896cf2c71 (diff)
downloadtrackermap-web-d1d7d230a0262d9f6ae05f1c4c6718699edb8de3.tar.gz
trackermap-web-d1d7d230a0262d9f6ae05f1c4c6718699edb8de3.tar.bz2
trackermap-web-d1d7d230a0262d9f6ae05f1c4c6718699edb8de3.zip
Fix style
-rw-r--r--web/app/view/SettingsMenuController.js4
-rw-r--r--web/app/view/dialog/GeofenceController.js2
-rw-r--r--web/app/view/edit/DevicesController.js2
-rw-r--r--web/app/view/edit/GroupsController.js2
-rw-r--r--web/app/view/edit/UsersController.js4
5 files changed, 7 insertions, 7 deletions
diff --git a/web/app/view/SettingsMenuController.js b/web/app/view/SettingsMenuController.js
index 54543358..7985700a 100644
--- a/web/app/view/SettingsMenuController.js
+++ b/web/app/view/SettingsMenuController.js
@@ -56,14 +56,14 @@ Ext.define('Traccar.view.SettingsMenuController', {
this.lookupReference('settingsGeofencesButton').setHidden(false);
this.lookupReference('settingsNotificationsButton').setHidden(false);
this.lookupReference('settingsCalendarsButton').setHidden(
- Traccar.app.getBooleanAttributePreference('ui.disableCalendars'));
+ Traccar.app.getBooleanAttributePreference('ui.disableCalendars'));
this.lookupReference('settingsDriversButton').setHidden(Traccar.app.isVehicleFeaturesDisabled() ||
Traccar.app.getBooleanAttributePreference('ui.disableDrivers'));
}
if (admin || !deviceReadonly && !readonly) {
this.lookupReference('settingsAttributeAliasesButton').setHidden(false);
this.lookupReference('settingsComputedAttributesButton').setHidden(
- Traccar.app.getBooleanAttributePreference('ui.disableComputedAttributes'));
+ Traccar.app.getBooleanAttributePreference('ui.disableComputedAttributes'));
}
},
diff --git a/web/app/view/dialog/GeofenceController.js b/web/app/view/dialog/GeofenceController.js
index 2f96987d..e4ac5a2e 100644
--- a/web/app/view/dialog/GeofenceController.js
+++ b/web/app/view/dialog/GeofenceController.js
@@ -36,7 +36,7 @@ Ext.define('Traccar.view.dialog.GeofenceController', {
init: function () {
this.lookupReference('calendarCombo').setHidden(
- Traccar.app.getBooleanAttributePreference('ui.disableCalendars'));
+ Traccar.app.getBooleanAttributePreference('ui.disableCalendars'));
},
saveArea: function (value) {
diff --git a/web/app/view/edit/DevicesController.js b/web/app/view/edit/DevicesController.js
index ffe9c9af..9616dbd2 100644
--- a/web/app/view/edit/DevicesController.js
+++ b/web/app/view/edit/DevicesController.js
@@ -64,7 +64,7 @@ Ext.define('Traccar.view.edit.DevicesController', {
this.lookupReference('toolbarDriversButton').setHidden(Traccar.app.isVehicleFeaturesDisabled() ||
Traccar.app.getBooleanAttributePreference('ui.disableDrivers'));
this.lookupReference('toolbarAttributesButton').setHidden(
- Traccar.app.getBooleanAttributePreference('ui.disableComputedAttributes'));
+ Traccar.app.getBooleanAttributePreference('ui.disableComputedAttributes'));
setInterval(function () {
self.getView().getView().refresh();
diff --git a/web/app/view/edit/GroupsController.js b/web/app/view/edit/GroupsController.js
index f1da19ce..d40c1e69 100644
--- a/web/app/view/edit/GroupsController.js
+++ b/web/app/view/edit/GroupsController.js
@@ -36,7 +36,7 @@ Ext.define('Traccar.view.edit.GroupsController', {
this.lookupReference('toolbarDriversButton').setHidden(Traccar.app.isVehicleFeaturesDisabled() ||
Traccar.app.getBooleanAttributePreference('ui.disableDrivers'));
this.lookupReference('toolbarAttributesButton').setHidden(
- Traccar.app.getBooleanAttributePreference('ui.disableComputedAttributes'));
+ Traccar.app.getBooleanAttributePreference('ui.disableComputedAttributes'));
},
onGeofencesClick: function () {
diff --git a/web/app/view/edit/UsersController.js b/web/app/view/edit/UsersController.js
index 42fc0cd9..8da5caa9 100644
--- a/web/app/view/edit/UsersController.js
+++ b/web/app/view/edit/UsersController.js
@@ -44,9 +44,9 @@ Ext.define('Traccar.view.edit.UsersController', {
this.lookupReference('userDriversButton').setHidden(Traccar.app.isVehicleFeaturesDisabled() ||
Traccar.app.getBooleanAttributePreference('ui.disableDrivers'));
this.lookupReference('userAttributesButton').setHidden(
- Traccar.app.getBooleanAttributePreference('ui.disableComputedAttributes'));
+ Traccar.app.getBooleanAttributePreference('ui.disableComputedAttributes'));
this.lookupReference('userCalendarsButton').setHidden(
- Traccar.app.getBooleanAttributePreference('ui.disableCalendars'));
+ Traccar.app.getBooleanAttributePreference('ui.disableCalendars'));
},
onEditClick: function () {