diff --git a/judo-ui-react/src/main/resources/actor/src/containers/dialog.tsx.hbs b/judo-ui-react/src/main/resources/actor/src/containers/dialog.tsx.hbs index 2912ab62..a74c01c8 100644 --- a/judo-ui-react/src/main/resources/actor/src/containers/dialog.tsx.hbs +++ b/judo-ui-react/src/main/resources/actor/src/containers/dialog.tsx.hbs @@ -208,7 +208,9 @@ export default function {{ containerComponentName container }}Dialog({{# unless } {{/ if }} onClick={ async () => { - {{> actor/src/fragments/container/action-call-confirm-check.fragment.hbs button=button dataParam='data' }} + {{# unless (isParameterOpenerButton button) }} + {{> actor/src/fragments/container/action-call-confirm-check.fragment.hbs button=button dataParam='data' }} + {{/ unless }} {{# if button.actionDefinition.isDeleteAction }} actions.{{ simpleActionDefinitionName actionDefinition }}!(); {{ else }} diff --git a/judo-ui-react/src/main/resources/actor/src/containers/page.tsx.hbs b/judo-ui-react/src/main/resources/actor/src/containers/page.tsx.hbs index a5e972c9..162bc95c 100644 --- a/judo-ui-react/src/main/resources/actor/src/containers/page.tsx.hbs +++ b/judo-ui-react/src/main/resources/actor/src/containers/page.tsx.hbs @@ -96,7 +96,9 @@ export default function {{ containerComponentName container }}Page ({{# unless ( disabled={ {{{ containerButtonGroupButtonDisabledConditions button container }}} } {{/ if }} onClick={ async () => { - {{> actor/src/fragments/container/action-call-confirm-check.fragment.hbs button=button dataParam='data' }} + {{# unless (isParameterOpenerButton button) }} + {{> actor/src/fragments/container/action-call-confirm-check.fragment.hbs button=button dataParam='data' }} + {{/ unless }} {{# if button.actionDefinition.isDeleteAction }} actions.{{ simpleActionDefinitionName actionDefinition }}!(); {{ else }} diff --git a/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/button.hbs b/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/button.hbs index 8281a1a2..f4a4f00e 100644 --- a/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/button.hbs +++ b/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/button.hbs @@ -21,7 +21,9 @@ loadingPosition="start" {{/ if }} onClick={ async () => { - {{> actor/src/fragments/container/action-call-confirm-check.fragment.hbs button=child dataParam='data' }} + {{# unless (isParameterOpenerButton child) }} + {{> actor/src/fragments/container/action-call-confirm-check.fragment.hbs button=child dataParam='data' }} + {{/ unless }} if (actions.{{ simpleActionDefinitionName child.actionDefinition }}) { await actions.{{ simpleActionDefinitionName child.actionDefinition }}!(); } diff --git a/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/buttongroup.hbs b/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/buttongroup.hbs index 986ed450..fff6a303 100644 --- a/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/buttongroup.hbs +++ b/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/buttongroup.hbs @@ -22,7 +22,9 @@ loadingPosition="start" {{/ if }} onClick={ actions.{{ simpleActionDefinitionName button.actionDefinition }} ? async () => { - {{> actor/src/fragments/container/action-call-confirm-check.fragment.hbs button=button dataParam='data' }} + {{# unless (isParameterOpenerButton button) }} + {{> actor/src/fragments/container/action-call-confirm-check.fragment.hbs button=button dataParam='data' }} + {{/ unless}} await actions.{{ simpleActionDefinitionName button.actionDefinition }}!(); } : undefined } {{# if (containerButtonHasDisabledConditions button container) }} @@ -46,7 +48,9 @@ id: '{{ getXMIID button }}', label: t('{{ getTranslationKeyForVisualElement button }}', { defaultValue: '{{ button.label }}' }) as string, onClick: actions.{{ simpleActionDefinitionName button.actionDefinition }} ? async () => { - {{> actor/src/fragments/container/action-call-confirm-check.fragment.hbs button=button dataParam='data' }} + {{# unless (isParameterOpenerButton button) }} + {{> actor/src/fragments/container/action-call-confirm-check.fragment.hbs button=button dataParam='data' }} + {{/ unless}} await actions.{{ simpleActionDefinitionName button.actionDefinition }}!(); } : undefined, {{# if button.icon }} diff --git a/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/flex.hbs b/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/flex.hbs index d4a36232..d7416d30 100644 --- a/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/flex.hbs +++ b/judo-ui-react/src/main/resources/actor/src/containers/widget-fragments/flex.hbs @@ -43,7 +43,9 @@ title={ t('{{ getTranslationKeyForVisualElement button }}', { defaultValue: '{{ button.label }}' }) as string } color="primary" onClick={ async () => { - {{> actor/src/fragments/container/action-call-confirm-check.fragment.hbs button=button dataParam='data' }} + {{# unless (isParameterOpenerButton button) }} + {{> actor/src/fragments/container/action-call-confirm-check.fragment.hbs button=button dataParam='data' }} + {{/ unless }} await actions.{{ simpleActionDefinitionName button.actionDefinition }}!(); } } >