Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix[Op#50212]: Replace `turbo_confirm` with `confirm` which is more consistent

Kabiru Mwenja0816f3453df8
diff --git a/modules/storages/app/components/storages/admin/storage_view_component.html.erb b/modules/storages/app/components/storages/admin/storage_view_component.html.erb
index 5802ac1c351..95c6ed6144f 100644
--- a/modules/storages/app/components/storages/admin/storage_view_component.html.erb
+++ b/modules/storages/app/components/storages/admin/storage_view_component.html.erb
@@ -77,7 +77,7 @@
label: I18n.t("storages.buttons.replace_provider_type_oauth",
provider_type: I18n.t("storages.provider_types.#{storage.short_provider_type}.name"))
},
- data: { turbo_confirm: I18n.t("storages.confirm_replace_oauth_application") },
+ data: { confirm: I18n.t("storages.confirm_replace_oauth_application") },
test_selector: 'storage-replace-openproject-oauth-application-button'
)
)
@@ -111,7 +111,7 @@
href: new_admin_settings_storage_oauth_client_path(storage),
scheme: :invisible,
aria: { label: I18n.t("storages.label_edit_storage_oauth_client") },
- data: { turbo_confirm: I18n.t("storages.confirm_replace_oauth_client") },
+ data: { confirm: I18n.t("storages.confirm_replace_oauth_client") },
test_selector: 'storage-edit-oauth-client-button'
)
)