From bca228f98554e4c33aa55ba2614aab090c581610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ja=CC=81n=20Mikla=CC=81s=CC=8C?= Date: Wed, 28 Oct 2020 15:20:07 +0100 Subject: [PATCH] Don't pre-select 3rd party libraries in wizard [MAILPOET-3073] --- assets/js/src/wizard/steps/usage_tracking_step.jsx | 4 ++-- lib/Config/Populator.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/src/wizard/steps/usage_tracking_step.jsx b/assets/js/src/wizard/steps/usage_tracking_step.jsx index 54b6174d11..28f73314cf 100644 --- a/assets/js/src/wizard/steps/usage_tracking_step.jsx +++ b/assets/js/src/wizard/steps/usage_tracking_step.jsx @@ -9,8 +9,8 @@ import YesNo from 'common/form/yesno/yesno'; const WelcomeWizardUsageTrackingStep = ({ loading, submitForm }) => { const [state, setState] = useState({ - tracking: true, - libs3rdParty: true, + tracking: undefined, + libs3rdParty: undefined, }); function submit(event) { event.preventDefault(); diff --git a/lib/Config/Populator.php b/lib/Config/Populator.php index 956a893903..3d58eae297 100644 --- a/lib/Config/Populator.php +++ b/lib/Config/Populator.php @@ -288,7 +288,7 @@ class Populator { $thirdPartyScriptsEnabled = $this->settings->get('3rd_party_libs'); if (is_null($thirdPartyScriptsEnabled)) { - // if third party libraries are not set to anything we will enable them by default, user can manually disable this + // keep loading 3rd party libraries for existing users so the functionality is not broken $this->settings->set('3rd_party_libs.enabled', '1'); } }