Commit b4aca01f authored by Johanna Okerlund's avatar Johanna Okerlund

Error message hide on mouse click

parent ab31b8a2
...@@ -36,8 +36,7 @@ public final class ErrorReporter { ...@@ -36,8 +36,7 @@ public final class ErrorReporter {
* Initializes the ErrorPopup. * Initializes the ErrorPopup.
*/ */
ErrorPopup() { ErrorPopup() {
//super(false); super(true); //constructor for PopupPanel class. "True" initializes the "auto-hide" variable
super(true); //JOHANNA
// I'm leaving this setSTyleName line here as a comment, to show the typical way to define // I'm leaving this setSTyleName line here as a comment, to show the typical way to define
......
...@@ -116,7 +116,6 @@ public class TopPanel extends Composite { ...@@ -116,7 +116,6 @@ public class TopPanel extends Composite {
debugging.addClickHandler(new ClickHandler() { debugging.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) { public void onClick(ClickEvent event) {
ode.switchToDebuggingView(); ode.switchToDebuggingView();
ErrorReporter.hide(); ///JOHANNA
} }
} }
); );
......
...@@ -10,6 +10,7 @@ import com.google.gwt.user.client.ui.HorizontalPanel; ...@@ -10,6 +10,7 @@ import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.MenuItem; import com.google.gwt.user.client.ui.MenuItem;
import com.google.gwt.user.client.ui.PopupPanel; import com.google.gwt.user.client.ui.PopupPanel;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
......
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