diff --git a/asl_rulebook2/webapp/static/ContentPane.js b/asl_rulebook2/webapp/static/ContentPane.js index b9dd52e..99f1735 100644 --- a/asl_rulebook2/webapp/static/ContentPane.js +++ b/asl_rulebook2/webapp/static/ContentPane.js @@ -18,7 +18,7 @@ gMainApp.component( "content-pane", { const showContentDoc = (cdocId) => { this.$refs.tabbedPages.activateTab( cdocId ) ; // nb: tabId == cdocId } - gEventBus.on( "show-target", (cdocId, target) => { //eslint-disable-line no-unused-vars + gEventBus.on( "show-target", (cdocId, ruleid) => { //eslint-disable-line no-unused-vars showContentDoc( cdocId ) ; } ) ; gEventBus.on( "show-page", (cdocId, pageNo) => { //eslint-disable-line no-unused-vars @@ -34,16 +34,16 @@ gMainApp.component( "content-doc", { props: [ "cdoc" ], data() { return { - target: null, pageNo: null, + ruleid: null, pageNo: null, noContent: gUrlParams.get( "no-content" ), } ; }, template: ` -
+
——— Content disabled ———
{{cdoc.title}} -
target = {{target}}
+
ruleid = {{ruleid}}
page = {{pageNo}}