Forráskód Böngészése

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

Harsh J 10 éve
szülő
commit
0e37bbc8e3

+ 3 - 0
hadoop-yarn-project/CHANGES.txt

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

+ 2 - 1
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/view/JQueryUI.java

@@ -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();")._();