Is there any way to prevent a call to ListGrid.exportData from causing a window.unload event? I see this with IE9 and FireFox 3.6 and detecting it via:
Which is on the same html page as my Smart GWT application is. (I'm also seeing this when I open up the Developer Console too). The reason I'm asking is I have a use case in which I need to detect if my application's web page is unloaded and was hoping to do so via window.onbeforeunload. But, maybe there is a better way?
This is with SC_SNAPSHOT-2011-05-17/PowerEdition. Thanks.
Code:
<script type="text/javascript"> window.onbeforeunload = hullo; function hullo() { var url = window.location.href; window.alert(url); } </script>
This is with SC_SNAPSHOT-2011-05-17/PowerEdition. Thanks.
Comment