From d57b34c452c28c9523850539a3edc5787d76414d Mon Sep 17 00:00:00 2001 From: Mark Payne Date: Fri, 19 Dec 2014 14:13:34 -0500 Subject: [PATCH] NIFI-150: Addressed issues not pulling in the user guide appropriately --- .../src/main/webapp/WEB-INF/jsp/documentation.jsp | 3 ++- .../web/nifi-web-docs/src/main/webapp/js/application.js | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-docs/src/main/webapp/WEB-INF/jsp/documentation.jsp b/nar-bundles/framework-bundle/framework/web/nifi-web-docs/src/main/webapp/WEB-INF/jsp/documentation.jsp index f82cc6dae9..a899603e8b 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-docs/src/main/webapp/WEB-INF/jsp/documentation.jsp +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-docs/src/main/webapp/WEB-INF/jsp/documentation.jsp @@ -21,7 +21,7 @@ NiFi Documentation - + @@ -41,6 +41,7 @@
Documents
diff --git a/nar-bundles/framework-bundle/framework/web/nifi-web-docs/src/main/webapp/js/application.js b/nar-bundles/framework-bundle/framework/web/nifi-web-docs/src/main/webapp/js/application.js index 1a60de655f..e9b0499e5b 100644 --- a/nar-bundles/framework-bundle/framework/web/nifi-web-docs/src/main/webapp/js/application.js +++ b/nar-bundles/framework-bundle/framework/web/nifi-web-docs/src/main/webapp/js/application.js @@ -256,6 +256,11 @@ $(document).ready(function () { } }); + // listen for on the rest api and user guide + $('a.rest-api a.user-guide').on('click', function() { + selectComponent($(this).text()); + }); + // get the initial selection var initialComponentLink = $('a.component-link:first'); var initialSelection = $('#initial-selection').text();