Reviewers: jlabanca,

Description:
Use glass panel isntead of alert() when displaying dev mode connection
failures,
because modal dialog boxes are annoying and consume unnecessary
keystrokes or
mouse clicks before you are able to refresh the page.


Please review this at http://gwt-code-reviews.appspot.com/1449802/

Affected files:
  M dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html


Index: dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html
===================================================================
--- dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html (revision 10190) +++ dev/core/src/com/google/gwt/core/ext/linker/impl/hosted.html (working copy)
@@ -295,7 +295,7 @@
       if (errFn) {
         errFn(modName);
       } else {
- alert("Plugin failed to connect to Development Mode server at " + $hosted); + __gwt_displayGlassMessage("Plugin failed to connect to Development Mode server at " + $hosted); loadIframe("http://code.google.com/p/google-web-toolkit/wiki/TroubleshootingOOPHM";);
       }
     }


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to