diff --git a/CHANGELOG.md b/CHANGELOG.md index f0f46cddce0ffcd2450c3ec8bcc5b6693b2161c5..09b18de32af2dea6fda0d8d0034962b30e420e88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added (for new features, dependecies etc.) +* A `#version_history` URI fragment which can be used to directly open the modal + with the full version history of the first entity on the page. + ### Changed (for changes in existing functionality) ### Deprecated (for soon-to-be removed features) diff --git a/src/core/js/webcaosdb.js b/src/core/js/webcaosdb.js index de0ca4267167ae4f768db0a1033530a5bf88011a..270c8891703ad4c257c514aef88701f15977170f 100644 --- a/src/core/js/webcaosdb.js +++ b/src/core/js/webcaosdb.js @@ -1171,7 +1171,7 @@ var version_history = new function () { if (this._has_version_fragment()) { const first_entity = $(".caosdb-entity-panel")[0]; if (first_entity && hasEntityPermission(first_entity, "RETRIEVE:HISTORY")) { - console.log("Showing full version modal for first entity"); + logger.debug("Showing full version modal for first entity"); const version_button = $(first_entity).find(".caosdb-f-entity-version-button"); version_button.click(); const full_version_history_button = $(first_entity).find(".caosdb-f-entity-version-load-history-btn");