YARN-10824. Title not set for JHS and NM webpages. Contributed by Bilwa S T.

(cherry picked from commit 7c7d02edbd)
This commit is contained in:
Jim Brennan 2021-06-25 20:32:08 +00:00
parent 80859d714d
commit 75f8198aa8
2 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@ public class HsAboutPage extends HsView {
commonPreHead(html);
//override the nav config from commonPReHead
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:0}");
setTitle("About History Server");
}
/**

View File

@ -41,7 +41,7 @@ public class NodePage extends NMView {
@Override
protected void commonPreHead(HTML<__> html) {
super.commonPreHead(html);
setTitle("NodeManager information");
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:1}");
}