YARN-2950. Change message to mandate, not suggest JS requirement on UI. Contributed by Dustin Cote.
This commit is contained in:
parent
fa7b9248e4
commit
0e37bbc8e3
@ -67,6 +67,9 @@ Release 2.7.0 - UNRELEASED
|
||||
|
||||
IMPROVEMENTS
|
||||
|
||||
YARN-2950. Change message to mandate, not suggest JS requirement on UI.
|
||||
(Dustin Cote via harsh)
|
||||
|
||||
YARN-2891. Failed Container Executor does not provide a clear error
|
||||
message. (Dustin Cote via harsh)
|
||||
|
||||
|
@ -91,7 +91,8 @@ protected void render(Block html) {
|
||||
public static void jsnotice(HTML html) {
|
||||
html.
|
||||
div("#jsnotice.ui-state-error").
|
||||
_("This page works best with javascript enabled.")._();
|
||||
_("This page will not function without javascript enabled."
|
||||
+ " Please enable javascript on your browser.")._();
|
||||
html.
|
||||
script().$type("text/javascript").
|
||||
_("$('#jsnotice').hide();")._();
|
||||
|
Loading…
Reference in New Issue
Block a user