You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by jo...@apache.org on 2020/01/29 20:49:38 UTC
[nifi] 01/05: Update nf-processor-details.js
This is an automated email from the ASF dual-hosted git repository.
joewitt pushed a commit to branch support/nifi-1.11.x
in repository https://gitbox.apache.org/repos/asf/nifi.git
commit 510d248ff30a3f928ed795fa5126c0212b971c70
Author: nagasivanath <na...@gmail.com>
AuthorDate: Thu Jan 16 21:10:19 2020 +0530
Update nf-processor-details.js
NIFI-7032:
- Processor Details no longer appears when clicking 'View Processor Details'
- handling the review comments
This closes #3990
---
.../src/main/webapp/js/nf/nf-processor-details.js | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js
index 946e676..ec1daf3 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js
@@ -174,14 +174,18 @@
}
// initialize the properties
- $('#read-only-processor-properties').propertytable({
- supportsGoTo: config.supportsGoTo,
- readOnly: true,
- getParameterContext: function (groupId) {
- // processors being configured must be in the current group
- return nfCanvasUtils.getParameterContext();
- }
- });
+
+ $('#read-only-processor-properties').propertytable(Object.assign({
+ supportsGoTo: config.supportsGoTo,
+ readOnly: true
+ },
+ //incase of summary window, nfCanvasUtils module wont be loaded
+ nfCanvasUtils && {
+ getParameterContext: function (groupId) {
+ // processors being configured must be in the current group
+ return nfCanvasUtils.getParameterContext();
+ }
+ }));
},
/**