aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/GeofenceController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/dialog/GeofenceController.js')
-rw-r--r--web/app/view/dialog/GeofenceController.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/web/app/view/dialog/GeofenceController.js b/web/app/view/dialog/GeofenceController.js
index 9fdad61b..e4ac5a2e 100644
--- a/web/app/view/dialog/GeofenceController.js
+++ b/web/app/view/dialog/GeofenceController.js
@@ -34,6 +34,11 @@ Ext.define('Traccar.view.dialog.GeofenceController', {
}
},
+ init: function () {
+ this.lookupReference('calendarCombo').setHidden(
+ Traccar.app.getBooleanAttributePreference('ui.disableCalendars'));
+ },
+
saveArea: function (value) {
this.lookupReference('areaField').setValue(value);
},