diff --git a/setup/setuppage.class.inc.php b/setup/setuppage.class.inc.php index c74f1e344..d990ec7b6 100644 --- a/setup/setuppage.class.inc.php +++ b/setup/setuppage.class.inc.php @@ -44,6 +44,9 @@ class SetupPage extends NiceWebPage $this->add_linked_stylesheet(utils::GetAbsoluteUrlAppRoot().'css/font-combodo/font-combodo.css'); $this->LoadTheme(); $this->add_saas("css/setup.scss"); + + // Note: JS dict. entries cannot be added to the setup page as it does not support them well. Install from scratch is mot likely to crash (especially with build packages) as it gonna try to load the english dictionary from env-production which doesn't exists yet + $this->bAddJSDict = false; } /** diff --git a/sources/application/WebPage/WebPage.php b/sources/application/WebPage/WebPage.php index 07f9c0360..23e651438 100644 --- a/sources/application/WebPage/WebPage.php +++ b/sources/application/WebPage/WebPage.php @@ -111,6 +111,11 @@ class WebPage implements Page protected $a_OutputOptions; protected $bPrintable; protected $bHasCollapsibleSection; + /** + * @var bool Whether the JS dictionary entries should be added to the page or not during the final output + * @see static::add_dict_entry + * @see static::add_dict_entries + */ protected $bAddJSDict; /** @var iUIContentBlock $oContentLayout */ protected $oContentLayout;