YARN-2950. Change message to mandate, not suggest JS requirement on UI. Contributed by Dustin Cote.

This commit is contained in:
Harsh J 2014-12-13 07:10:11 +05:30
parent fa7b9248e4
commit 0e37bbc8e3
2 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -91,7 +91,8 @@ public class JQueryUI extends HtmlBlock {
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();")._();