link map empty dialog

This commit is contained in:
zadam
2019-06-02 15:35:57 +02:00
parent 6ef8a4c018
commit b5143c152b
6 changed files with 34 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ import attributesDialog from "../dialogs/attributes.js";
import helpDialog from "../dialogs/help.js";
import noteInfoDialog from "../dialogs/note_info.js";
import aboutDialog from "../dialogs/about.js";
import linkMapDialog from "../dialogs/link_map.js";
import protectedSessionService from "./protected_session.js";
function registerEntrypoints() {
@@ -58,6 +59,10 @@ function registerEntrypoints() {
noteSourceDialog.showDialog();
});
$noteTabContainer.on("click", ".show-link-map-button", function() {
linkMapDialog.showDialog();
});
$("#options-button").click(optionsDialog.showDialog);
$("#show-help-button").click(helpDialog.showDialog);