diff --git a/pandora/0xdb.jsonc b/pandora/0xdb.jsonc index 41b288f4..4e5a3067 100644 --- a/pandora/0xdb.jsonc +++ b/pandora/0xdb.jsonc @@ -616,6 +616,7 @@ "section": "items", "showAnnotations": true, "showBrowser": true, + "showCalendarControls": true, // fixme: should be false "showControls": true, "showFlags": true, "showGroups": true, diff --git a/static/js/pandora/eventsDialog.js b/static/js/pandora/eventsDialog.js index 72a9ccdf..139a96f1 100644 --- a/static/js/pandora/eventsDialog.js +++ b/static/js/pandora/eventsDialog.js @@ -89,6 +89,7 @@ pandora.ui.eventsDialog = function() { callback(result); }); }, + showControls: pandora.user.ui.showCalendarControls, width: width }) }); diff --git a/static/js/pandora/navigationView.js b/static/js/pandora/navigationView.js index 389cdc80..448b0579 100644 --- a/static/js/pandora/navigationView.js +++ b/static/js/pandora/navigationView.js @@ -206,6 +206,7 @@ pandora.ui.navigationView = function(type, videoRatio) { // 20 px menu, 24 px toolbar, 1px resizbar, 16px statusbar height: window.innerHeight - ui.showGroups * ui.groupsSize - 61, range: [-5000, 5000], + showControls: ui.showCalendarControls, width: window.innerWidth - ui.showSidebar * ui.sidebarSize - listSize - 2, zoom: 4 }) diff --git a/static/js/pandora/placesDialog.js b/static/js/pandora/placesDialog.js index 958c658c..60abf577 100644 --- a/static/js/pandora/placesDialog.js +++ b/static/js/pandora/placesDialog.js @@ -42,6 +42,8 @@ pandora.ui.placesDialog = function() { callback(result); }); }, + showControls: pandora.user.ui.showMapControls, + showLabels: pandora.user.ui.showMapLabels, showTypes: true, width: width }),