honor ui preferences in events/places dialogs
This commit is contained in:
parent
f2e0c2c701
commit
01510f830b
4 changed files with 5 additions and 0 deletions
|
@ -616,6 +616,7 @@
|
||||||
"section": "items",
|
"section": "items",
|
||||||
"showAnnotations": true,
|
"showAnnotations": true,
|
||||||
"showBrowser": true,
|
"showBrowser": true,
|
||||||
|
"showCalendarControls": true, // fixme: should be false
|
||||||
"showControls": true,
|
"showControls": true,
|
||||||
"showFlags": true,
|
"showFlags": true,
|
||||||
"showGroups": true,
|
"showGroups": true,
|
||||||
|
|
|
@ -89,6 +89,7 @@ pandora.ui.eventsDialog = function() {
|
||||||
callback(result);
|
callback(result);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
showControls: pandora.user.ui.showCalendarControls,
|
||||||
width: width
|
width: width
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
|
@ -206,6 +206,7 @@ pandora.ui.navigationView = function(type, videoRatio) {
|
||||||
// 20 px menu, 24 px toolbar, 1px resizbar, 16px statusbar
|
// 20 px menu, 24 px toolbar, 1px resizbar, 16px statusbar
|
||||||
height: window.innerHeight - ui.showGroups * ui.groupsSize - 61,
|
height: window.innerHeight - ui.showGroups * ui.groupsSize - 61,
|
||||||
range: [-5000, 5000],
|
range: [-5000, 5000],
|
||||||
|
showControls: ui.showCalendarControls,
|
||||||
width: window.innerWidth - ui.showSidebar * ui.sidebarSize - listSize - 2,
|
width: window.innerWidth - ui.showSidebar * ui.sidebarSize - listSize - 2,
|
||||||
zoom: 4
|
zoom: 4
|
||||||
})
|
})
|
||||||
|
|
|
@ -42,6 +42,8 @@ pandora.ui.placesDialog = function() {
|
||||||
callback(result);
|
callback(result);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
showControls: pandora.user.ui.showMapControls,
|
||||||
|
showLabels: pandora.user.ui.showMapLabels,
|
||||||
showTypes: true,
|
showTypes: true,
|
||||||
width: width
|
width: width
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue