Author: lgiessmann Date: Fri Jul 22 06:58:12 2011 New Revision: 664
Log: gdl-frontend: Widgets: fixed a bug with GdlReference.Reference when opening a new window/tab in IE => window names must not contain spaces in IE
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt Fri Jul 22 06:40:57 2011 (r663) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/TODO.txt Fri Jul 22 06:58:12 2011 (r664) @@ -1,5 +1,4 @@ * fix setting the float property in firefox -* fix the reference widget on ie (no link is opened if it is clicked)
* Implement GdlButton(s)
Modified: branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java ============================================================================== --- branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java Fri Jul 22 06:40:57 2011 (r663) +++ branches/gdl-frontend/src/anaToMia/GDL_Widgets/src/us/isidor/gdl/anaToMia/Widgets/text/GdlReference.java Fri Jul 22 06:58:12 2011 (r664) @@ -12,6 +12,7 @@ import com.google.gwt.event.dom.client.HasFocusHandlers; import com.google.gwt.event.shared.HandlerRegistration; import com.google.gwt.user.client.DOM; +import com.google.gwt.user.client.Element; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.ui.Label; import com.google.gwt.user.client.ui.Widget; @@ -171,7 +172,7 @@ @Override public void onClick(ClickEvent event) { Reference ref = (Reference)event.getSource(); - Window.open(ref.getHref(), "new window", null); + Window.open(ref.getHref(), "new_window", ""); /* TODO: implement @@ -293,6 +294,7 @@ public void setHref(String href){ if(href != null) this.href = href; else this.href = ""; + }