NEW Module external website is deprecated. Replaced with menu editor.

This commit is contained in:
ldestailleur
2025-04-08 18:18:05 +02:00
parent 611cc510d7
commit 7d8607cce5
8 changed files with 252 additions and 87 deletions

View File

@@ -1475,7 +1475,7 @@ $(document).ready(function() {
jQuery(document).ready(function() {
// Force to hide menus when page is inside an iFrame so we can show any page into a dialog popup
if (window.location && window.location.pathname.indexOf("externalsite/frametop.php") == -1 && window.location !== window.parent.location ) {
if (window.location && window.location.pathname.indexOf("core/frames.php") == -1 && window.location.pathname.indexOf("externalsite/frametop.php") == -1 && window.location !== window.parent.location ) {
console.log("Page is detected to be into an iframe, we hide by CSS the menus");
// The page is in an iframe
jQuery(".side-nav-vert, .side-nav, .websitebar").hide();