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>

Cette réponse était-elle pertinente? 0 Utilisateurs l'ont trouvée utile (0 Votes)

Powered by WHMCompleteSolution