diff --git a/CHANGELOG.md b/CHANGELOG.md index 6677594cbce4b67f2097d9b097c76b1ad2930692..7d5e80b883c11282704cc3042894f1983579e512 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 723a46cc6580dc39e4c42c55f9034fe3337521fb..831b80eecbc14808ada85b2c4266c5556c515953 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];