From 3642f4d47a34ed72d77749caad048785434900c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Fri, 26 Mar 2021 12:34:07 +0100 Subject: [PATCH] up --- CHANGELOG.md | 2 ++ src/core/js/tour.js | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6677594c..7d5e80b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Visually highlighted drop zones for properties and parents in the edit_mode. * two new field types for the form_elements module, `file` and `select`. See the module documentation for more information. +- Added a menu/toc for the tour +- Added a previous and next buttons for pages in the tour ### Changed (for changes in existing functionality) - The heading attributes datatype, path, checksum and size are now placed diff --git a/src/core/js/tour.js b/src/core/js/tour.js index 723a46cc..831b80ee 100644 --- a/src/core/js/tour.js +++ b/src/core/js/tour.js @@ -354,7 +354,9 @@ var tour = new function() { this.parent_set._activate_by_id(id); } - // TODO duplicate name + /* + * create_menu_enrty for a Page + */ create_menu_entry() { var entry = $("<li class='list-group-item caosdb-f-tour-overview-entry caosdb-v-tour-overview-entry-page' />"); var link = $("<a class='btn btn-link' href='"+this.config.href+"'>" + this.name + "</a>")[0]; -- GitLab