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 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 YARN-2891. Failed Container Executor does not provide a clear error
message. (Dustin Cote via harsh) message. (Dustin Cote via harsh)

View File

@ -91,7 +91,8 @@ public class JQueryUI extends HtmlBlock {
public static void jsnotice(HTML html) { public static void jsnotice(HTML html) {
html. html.
div("#jsnotice.ui-state-error"). 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. html.
script().$type("text/javascript"). script().$type("text/javascript").
_("$('#jsnotice').hide();")._(); _("$('#jsnotice').hide();")._();