You could try Window.addWindowClosingHandler(handler) and put out a 'Do you really want to leave this page?' message, or you can have a look at
addEventPreview Ian http://examples.roughian.com =============================================================== If Global Warming is being discussed, climatologists have a job. If Global Warming is proved, climatologists have a job. If Global Warming is disproved, climatologists are unemployed. If Global Warming is disproved, will my government pay me back all my 'Green Taxes'? =============================================================== 2009/12/12 Andrey <[email protected]> > Hello! > > My application is desktop-like, so it does not need any history > support. > The problem is that when I edit a form and accidentally lose focus and > then press Backspace key to delete a character browser performs > history.back() and the whole application is unloaded losing all the > data. > > How can I disable this? > > Thanks! > > -- > > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
