Skip to content
Snippets Groups Projects
Commit 4fa177de authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

DOC: Update Changelog

parent 4eb7689d
No related branches found
No related tags found
2 merge requests!68DOC: update CHANGELOG,!63F version uri fragment
Pipeline #18083 failed
...@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added (for new features, dependecies etc.) ### 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) ### Changed (for changes in existing functionality)
### Deprecated (for soon-to-be removed features) ### Deprecated (for soon-to-be removed features)
......
...@@ -1171,7 +1171,7 @@ var version_history = new function () { ...@@ -1171,7 +1171,7 @@ var version_history = new function () {
if (this._has_version_fragment()) { if (this._has_version_fragment()) {
const first_entity = $(".caosdb-entity-panel")[0]; const first_entity = $(".caosdb-entity-panel")[0];
if (first_entity && hasEntityPermission(first_entity, "RETRIEVE:HISTORY")) { 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"); const version_button = $(first_entity).find(".caosdb-f-entity-version-button");
version_button.click(); version_button.click();
const full_version_history_button = $(first_entity).find(".caosdb-f-entity-version-load-history-btn"); const full_version_history_button = $(first_entity).find(".caosdb-f-entity-version-load-history-btn");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment