Hello,
The easiest way to do this is to include the following in your HTML file
after the spiffyui.min.js file gets imported:
<script type="text/javascript">
spiffyui.historyEnabled = false;
</script>
By the way... Your code sample didn't work because JavaScript code in your
GWT files runs in a different context. If you want to access the window
variable (which is implicitly called in the previous example) then you need
this code:
private static native void disableHistory() /*-{
spiffyui.historyEnabled = false;
}-*/;
Good luck,