mirror of https://github.com/apache/nifi.git
NIFI-1548 Fixing Controller Service Usage Button. This closes #245
Signed-off-by: Matt Gilman <matt.c.gilman@gmail.com>
This commit is contained in:
parent
5ee83574d8
commit
24a77755de
|
@ -767,7 +767,17 @@ nf.Settings = (function () {
|
|||
} else if (controllerServicesGrid.getColumns()[args.cell].id === 'moreDetails') {
|
||||
if (target.hasClass('view-controller-service')) {
|
||||
nf.ControllerService.showDetails(controllerService);
|
||||
}
|
||||
} else if (target.hasClass('controller-service-usage')) {
|
||||
// close the settings dialog
|
||||
$('#shell-close-button').click();
|
||||
|
||||
// open the documentation for this controller service
|
||||
nf.Shell.showPage('../nifi-docs/documentation?' + $.param({
|
||||
select: nf.Common.substringAfterLast(controllerService.type, '.')
|
||||
})).done(function() {
|
||||
nf.Settings.showSettings();
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -1413,7 +1423,17 @@ nf.Settings = (function () {
|
|||
} else if (reportingTasksGrid.getColumns()[args.cell].id === 'moreDetails') {
|
||||
if (target.hasClass('view-reporting-task')) {
|
||||
nf.ReportingTask.showDetails(reportingTask);
|
||||
}
|
||||
} else if (target.hasClass('reporting-task-usage')) {
|
||||
// close the settings dialog
|
||||
$('#shell-close-button').click();
|
||||
|
||||
// open the documentation for this reporting task
|
||||
nf.Shell.showPage('../nifi-docs/documentation?' + $.param({
|
||||
select: nf.Common.substringAfterLast(reportingTask.type, '.')
|
||||
})).done(function() {
|
||||
nf.Settings.showSettings();
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue