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:
parent
7d231f4b98
commit
51be95e234
|
@ -40,6 +40,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");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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}");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue