diff --git a/sources/application/WebPage/WebPage.php b/sources/application/WebPage/WebPage.php index eaa423a45..52861eefe 100644 --- a/sources/application/WebPage/WebPage.php +++ b/sources/application/WebPage/WebPage.php @@ -1087,6 +1087,11 @@ class WebPage implements Page header($sHeader); } + // Compute and add dict entries for JS + if ($this->bAddJSDict) { + $this->output_dict_entries(); + } + $s_captured_output = $this->ob_get_clean_safe(); $aData = []; @@ -1129,16 +1134,6 @@ class WebPage implements Page $aData['aPage']['sFaviconUrl'] = $this->GetFaviconAbsoluteUrl(); } - // Dict entries for JS - // if ($this->bAddJSDict) { - // $this->output_dict_entries(); - // } - - - // if (trim($s_captured_output) != "") { - // echo "