mirror of https://github.com/apache/nifi.git
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:
parent
2f928490e3
commit
0b95ccb90a
|
@ -1018,8 +1018,11 @@
|
|||
$('#shell-close-button').click();
|
||||
|
||||
// open the documentation for this controller service
|
||||
nfShell.showPage('../nifi-docs/documentation?' + $.param({
|
||||
select: nfCommon.substringAfterLast(controllerServiceEntity.component.type, '.')
|
||||
nfShell.showPage('../nifi-docs/documentation?' + $.param({
|
||||
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;
|
||||
|
|
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue