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>

Was this answer helpful? 0 Users Found This Useful (0 Votes)

Powered by WHMCompleteSolution