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>

Дали Ви помогна овој одговор? 0 Корисниците го најдоа ова како корисно (0 Гласови)