Revision: 6875 Author: [email protected] Date: Thu Nov 12 11:30:55 2009 Log: Changes URL in hosted.html to point to the new "missing plugin page" app that lives here: http://gwt-dev-plugin-missing.appspot.com
Change by: bruce Review by: cramsdale (desk) http://code.google.com/p/google-web-toolkit/source/detail?r=6875 Modified: /releases/2.0/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html ======================================= --- /releases/2.0/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html Fri Nov 6 14:29:16 2009 +++ /releases/2.0/dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html Thu Nov 12 11:30:55 2009 @@ -51,12 +51,10 @@ } function loadIframe(url) { - var iframe = $doc.createElement('iframe'); - iframe.src = url; - iframe.style.width = "100%"; - iframe.style.height = "100%"; - iframe.style.borderWidth = "0px"; - $doc.body.insertBefore(iframe, $doc.body.firstChild); + var iframeHtml = "<iframe src='" + url + "' frameborder='0' style='border: 9px solid red; position: absolute; left: 0px; top: 0px; width: 100%'>"; + var div = $doc.createElement("div"); + $doc.body.insertBefore(div, $doc.body.firstChild); + div.innerHTML = iframeHtml; } if ($legacyHosted) { @@ -246,7 +244,7 @@ } catch (e) { } } - loadIframe("http://google-web-toolkit.googlecode.com/svn/trunk/plugins/MissingBrowserPlugin.html"); + loadIframe("http://gwt-dev-plugin-missing.appspot.com"); } else { if (plugin.connect(url, topWin.__gwt_SessionID, $hosted, $moduleName, $hostedHtmlVersion)) { -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
