How do I remove the popup message when hitting the back button in my catalog?

If you are trying to remove the message box that appears when you hit your back button when using the OE catalog, drop this javascript in your master template page (default.wc) just about the </body> tag.

<script type="text/javascript">
if (typeof SophioAjaxCatalog === "undefined") {
SophioAjaxCatalog = {};
}
SophioAjaxCatalog.preventPageLeave=false;
</script>

Var dette svaret til hjelp? 0 brukere syntes dette svaret var til hjelp (0 Stemmer)