Fix issue #1205.Added a src='javascript:false;' attribute to the iframe in the FormPanel. This is similar to the src="javascript:'';" used in the history iframe.
Testing:
I manually verified that the change corrects the problem in IE. I
also verified that the change does not have any effect on other
browsers.
Found by: david.nouls
Fixed by: jlabanca
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1581 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/FormPanel.java b/user/src/com/google/gwt/user/client/ui/FormPanel.java
index 95a3403..5e962dc 100644
--- a/user/src/com/google/gwt/user/client/ui/FormPanel.java
+++ b/user/src/com/google/gwt/user/client/ui/FormPanel.java
@@ -308,7 +308,7 @@
// because setting an iframe's 'name' property dynamically doesn't work on
// most browsers.
Element dummy = DOM.createDiv();
- DOM.setInnerHTML(dummy, "<iframe name='" + frameName
+ DOM.setInnerHTML(dummy, "<iframe src=\"javascript:''\" name='" + frameName
+ "' style='position:absolute;width:0;height:0;border:0'>");
iframe = DOM.getFirstChild(dummy);