Ticket #2840 Back button from heatmap result page leaves gene field empty
Ticket #2840 Back button from heatmap result page leaves gene field empty

Firebug hides the problem, as usual :)

In brief, the problem was caused by FireFox's bfcache (see details at https://developer.mozilla.org/en/using_firefox_1.5_caching) which stores DOM for faster back operations.

The quick solution (used currently) would be,  adding `onUnload` handler: this effectively disables the bfcache, hence the problem disappears (exactly the same way as it does with FireBug enabled).

The longer and more FireFox-friendly one will be handling `pageshow` and `pagehide` events. Problem is, we don't know why the DOM isn't complete, and MDN is so friendly that it doesn't show me the very page mentioned above. Thus Mozilla can wait while we fix other bugs.

gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa,gxa/gxa