From 53c7ce6642610a298c87ca1392836f09634520f7 Mon Sep 17 00:00:00 2001 From: Andrew Petro Date: Thu, 7 Mar 2019 14:27:04 -0600 Subject: [PATCH] fix: id static content div with fname rather than nodeId (#876) * fix: id static content div with fname rather than nodeId In practice nodeId is always (often?) -1 --- CHANGELOG.md | 3 ++- .../layout/static/partials/static-content-exclusive.html | 2 +- .../my-app/layout/static/partials/static-content-max.html | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9248eb12d..b8adea3dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,8 @@ and this project adheres to ## [Unreleased][] -No changes so far +* Generate static content div identifier by fname rather than by + not-reliably-unique nodeId #876 ## [9.0.0][] - 2019-02-26 diff --git a/web/src/main/webapp/my-app/layout/static/partials/static-content-exclusive.html b/web/src/main/webapp/my-app/layout/static/partials/static-content-exclusive.html index c9bd2a5e2..f9cdc3294 100644 --- a/web/src/main/webapp/my-app/layout/static/partials/static-content-exclusive.html +++ b/web/src/main/webapp/my-app/layout/static/partials/static-content-exclusive.html @@ -24,7 +24,7 @@ -
+
diff --git a/web/src/main/webapp/my-app/layout/static/partials/static-content-max.html b/web/src/main/webapp/my-app/layout/static/partials/static-content-max.html index f7b0abbcd..32b50c1d7 100644 --- a/web/src/main/webapp/my-app/layout/static/partials/static-content-max.html +++ b/web/src/main/webapp/my-app/layout/static/partials/static-content-max.html @@ -24,7 +24,7 @@ -
+