diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index 697b2ab9ab9..b0f4585d888 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -1126,6 +1126,11 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
else print ''."\n";
print ''."\n";
print ''."\n";
+ // jQuery Layout (still used by ECM module)
+ if (defined('REQUIRE_JQUERY_LAYOUT'))
+ {
+ print ''."\n";
+ }
// jQuery jnotify
if (empty($conf->global->MAIN_DISABLE_JQUERY_JNOTIFY) && ! defined('DISABLE_JQUERY_JNOTIFY'))
{