Closed GoogleCodeExporter closed 8 years ago
I have modified the setView method of the CalendarWidget class to include some
code for IE 6 only.
I've moved the "this.setStyleName(this.view.getStyleName());" line before
"this.view.attach(this);" to apply the style before attaching the new view to
calendar widget.
Now, the calendar works in IE 6.
public final void setView(CalendarView view) {
this.getRootPanel().clear();
this.view = view;
String appVersion = com.google.gwt.user.client.Window.Navigator.getAppVersion().toLowerCase();
if (appVersion.indexOf("msie 6.") > 0) {
this.getRootPanel().setVisible(false);
this.setStyleName(this.view.getStyleName());
this.getRootPanel().setVisible(true);
} else {
this.setStyleName(this.view.getStyleName());
}
this.view.attach(this);
this.refresh();
}
Original comment by alin.par...@gmail.com
on 10 Feb 2011 at 1:50
Attachments:
As seen in http://www.w3schools.com/browsers/browsers_explorer.asp the IE6 is
almost not used nowadays.
To apply this fix I need to do it blindly since I don't have access to any real
IE6 (IE9 has some emulation mode), so if no one complains I vote to simply
close it.
Original comment by ctasada
on 3 Jan 2012 at 4:19
Since IE6 is no longer a relevant browser.
Original comment by ctasada
on 5 Jan 2012 at 9:28
Original issue reported on code.google.com by
lovestad...@gmail.com
on 13 Oct 2010 at 6:34