mirror of https://github.com/apache/nifi.git
NIFI-4535
This closes #2826 Signed-off-by: Mike Thomsen <mikerthomsen@gmail.com>
This commit is contained in:
parent
3fd45ac4c4
commit
4ea6e6a40e
|
@ -166,6 +166,14 @@
|
||||||
nfNgBridge.injector.get('breadcrumbsCtrl').generateBreadcrumbs(breadcrumb);
|
nfNgBridge.injector.get('breadcrumbsCtrl').generateBreadcrumbs(breadcrumb);
|
||||||
nfNgBridge.injector.get('breadcrumbsCtrl').resetScrollPosition();
|
nfNgBridge.injector.get('breadcrumbsCtrl').resetScrollPosition();
|
||||||
|
|
||||||
|
// set page title to the name of the root processor group
|
||||||
|
var rootBreadcrumb = breadcrumb;
|
||||||
|
while(rootBreadcrumb.parentBreadcrumb != null) {
|
||||||
|
rootBreadcrumb = rootBreadcrumb.parentBreadcrumb
|
||||||
|
}
|
||||||
|
|
||||||
|
document.title = rootBreadcrumb.breadcrumb.name;
|
||||||
|
|
||||||
// update the timestamp
|
// update the timestamp
|
||||||
$('#stats-last-refreshed').text(processGroupFlow.lastRefreshed);
|
$('#stats-last-refreshed').text(processGroupFlow.lastRefreshed);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue