Commit aa050c6c authored by Evan W. Patton's avatar Evan W. Patton Committed by Jeffrey Schiller

Include locale in TutorialURL panel

Change-Id: Iaad92f5476f011aeffec1e8aa1dd8e5e6dadfad0
parent 7339fbf7
...@@ -2632,6 +2632,10 @@ public class Ode implements EntryPoint { ...@@ -2632,6 +2632,10 @@ public class Ode implements EntryPoint {
designToolbar.setTutorialToggleVisible(false); designToolbar.setTutorialToggleVisible(false);
setTutorialVisible(false); setTutorialVisible(false);
} else { } else {
String locale = Window.Location.getParameter("locale");
if (locale != null) {
newURL += (newURL.contains("?") ? "&" : "?") + "locale=" + locale;
}
tutorialPanel.setUrl(newURL); tutorialPanel.setUrl(newURL);
designToolbar.setTutorialToggleVisible(true); designToolbar.setTutorialToggleVisible(true);
setTutorialVisible(true); setTutorialVisible(true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment