// Copyright (c) 2016-2023 by the citadel.org team
//
// This program is open source software. Use, duplication, or
-// disclosure are subject to the GNU General Public License v3.
+// disclosure is subject to the GNU General Public License v3.
// Clear the sidebar buttons of any style indicating that one is selected
// The "contacts" module displays rooms with the VIEW_ADDRESSBOOK view as a contacts manager.
case views.VIEW_ADDRESSBOOK:
- document.getElementById("ctdl-main").innerHTML =
- `<div class="ctdl-middle">'${current_room}' is an address book but there is no renderer.</div>`;
+ view_render_contacts();
break;
case views.VIEW_CALENDAR:
case views.VIEW_CALBRIEF:
- document.getElementById("ctdl-main").innerHTML =
- `<div class="ctdl-middle">'${current_room}' is a calendar but there is no renderer.</div>`;
+ view_render_calendar();
break;
case views.VIEW_TASKS: