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 {
* Initializes the ErrorPopup.
*/
ErrorPopup() {
//super(false);
super(true); //JOHANNA
super(true); //constructor for PopupPanel class. "True" initializes the "auto-hide" variable
// 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 {
debugging.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
ode.switchToDebuggingView();
ErrorReporter.hide(); ///JOHANNA
}
}
);
......
......@@ -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.PopupPanel;
import java.util.HashMap;
import java.util.List;
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