2
0
forked from Wavyzz/dolibarr

Fix filter

This commit is contained in:
Laurent Destailleur
2022-03-14 16:20:57 +01:00
parent 9961fc6369
commit f789fc24f7
2 changed files with 8 additions and 4 deletions

View File

@@ -1167,7 +1167,7 @@ $(document).ready(function() {
});
<?php } ?>
// Force to hide menus when page is inside an iFrame
// Force to hide menus when page is inside an iFrame so we can show any page into a dialog popup
$(document).ready(function() {
if (window.location !== window.parent.location ) {
console.log("Page is detected to be into an iframe, we hide by CSS the menus");