NIFI-3380:

- Fixing opening of Usage from the Controller Service and Reporting Task table.

Signed-off-by: Scott Aslan <scottyaslan@gmail.com>

This closes #1684
This commit is contained in:
Matt Gilman 2017-04-20 16:04:22 -04:00 committed by Scott Aslan
parent 2f928490e3
commit 0b95ccb90a
2 changed files with 9 additions and 3 deletions

View File

@ -1019,7 +1019,10 @@
// open the documentation for this controller service
nfShell.showPage('../nifi-docs/documentation?' + $.param({
select: nfCommon.substringAfterLast(controllerServiceEntity.component.type, '.')
select: controllerServiceEntity.component.type,
group: controllerServiceEntity.component.bundle.group,
artifact: controllerServiceEntity.component.bundle.artifact,
version: controllerServiceEntity.component.bundle.version
})).done(function() {
if (nfCommon.isDefinedAndNotNull(controllerServiceEntity.component.parentGroupId)) {
var groupId;

View File

@ -992,7 +992,10 @@
// open the documentation for this reporting task
nfShell.showPage('../nifi-docs/documentation?' + $.param({
select: nfCommon.substringAfterLast(reportingTaskEntity.component.type, '.')
select: reportingTaskEntity.component.type,
group: reportingTaskEntity.component.bundle.group,
artifact: reportingTaskEntity.component.bundle.artifact,
version: reportingTaskEntity.component.bundle.version
})).done(function () {
nfSettings.showSettings();
});