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
80859d714d
commit
75f8198aa8
|
@ -39,6 +39,7 @@ public class HsAboutPage extends HsView {
|
||||||
commonPreHead(html);
|
commonPreHead(html);
|
||||||
//override the nav config from commonPReHead
|
//override the nav config from commonPReHead
|
||||||
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:0}");
|
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:0}");
|
||||||
|
setTitle("About History Server");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -41,7 +41,7 @@ public class NodePage extends NMView {
|
||||||
@Override
|
@Override
|
||||||
protected void commonPreHead(HTML<__> html) {
|
protected void commonPreHead(HTML<__> html) {
|
||||||
super.commonPreHead(html);
|
super.commonPreHead(html);
|
||||||
|
setTitle("NodeManager information");
|
||||||
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:1}");
|
set(initID(ACCORDION, "nav"), "{autoHeight:false, active:1}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue