diff options
author | Abyss777 <abyss@fox5.ru> | 2017-08-14 12:26:02 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-08-14 12:26:02 +0500 |
commit | 01af5f520e24a33d7e22523d8ed11e9f14a19516 (patch) | |
tree | bbb289a569e44b7886bb0d93adb265139a3d3884 /web/app/view/dialog/GeofenceController.js | |
parent | c52d923d60815fcc6c1e9592edbcd578caf1147c (diff) | |
download | trackermap-web-01af5f520e24a33d7e22523d8ed11e9f14a19516.tar.gz trackermap-web-01af5f520e24a33d7e22523d8ed11e9f14a19516.tar.bz2 trackermap-web-01af5f520e24a33d7e22523d8ed11e9f14a19516.zip |
Implement disable Calendars
Diffstat (limited to 'web/app/view/dialog/GeofenceController.js')
-rw-r--r-- | web/app/view/dialog/GeofenceController.js | 5 |
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..2f96987d 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); }, |