From 995130aeebebd2bb8aad20c51281f61747bdd374 Mon Sep 17 00:00:00 2001 From: Joshua Dinh <75056371+JoshuaHungDinh@users.noreply.github.com> Date: Mon, 24 Jun 2024 12:25:56 -0700 Subject: [PATCH] refactor: ensure global setting links open in a new tab (#7400) --- .../js/form-builder/src/blocks/fields/donor-name/Edit.tsx | 8 ++++++-- .../fields/terms-and-conditions/GlobalSettingsLink.tsx | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/FormBuilder/resources/js/form-builder/src/blocks/fields/donor-name/Edit.tsx b/src/FormBuilder/resources/js/form-builder/src/blocks/fields/donor-name/Edit.tsx index cb3553e584..a06150192e 100644 --- a/src/FormBuilder/resources/js/form-builder/src/blocks/fields/donor-name/Edit.tsx +++ b/src/FormBuilder/resources/js/form-builder/src/blocks/fields/donor-name/Edit.tsx @@ -139,8 +139,12 @@ export default function Edit({ }} > {__(' Go to the settings to change the ')} - - {__('global Title Prefixes options.')} + + {__('Global Title Prefixes options.')}
)} diff --git a/src/FormBuilder/resources/js/form-builder/src/blocks/fields/terms-and-conditions/GlobalSettingsLink.tsx b/src/FormBuilder/resources/js/form-builder/src/blocks/fields/terms-and-conditions/GlobalSettingsLink.tsx index 256e21ef5d..4a8cf5a9e0 100644 --- a/src/FormBuilder/resources/js/form-builder/src/blocks/fields/terms-and-conditions/GlobalSettingsLink.tsx +++ b/src/FormBuilder/resources/js/form-builder/src/blocks/fields/terms-and-conditions/GlobalSettingsLink.tsx @@ -16,7 +16,9 @@ export default function GlobalSettingsLink({href}: GlobalSettingsLinkProps) { }} > {__(' Go to the settings to change the ')} - {__('global Label and Text options.')} + + {__('Global Label and Text options.')} + ); }