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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[#51531] Incomplete Automatically managed form does not toggle the submit button label (#14394)
Kabiru Mwenja8bbadb8788ac
diff --git a/modules/storages/app/components/storages/admin/forms/automatically_managed_project_folders_form_component.rb b/modules/storages/app/components/storages/admin/forms/automatically_managed_project_folders_form_component.rbindex 7c6d5ce11f6..bef5f6888f9 100644--- a/modules/storages/app/components/storages/admin/forms/automatically_managed_project_folders_form_component.rb+++ b/modules/storages/app/components/storages/admin/forms/automatically_managed_project_folders_form_component.rb@@ -42,11 +42,13 @@ module Storages::Admin::Formsenddef submit_button_options- { label: I18n.t("storages.buttons.done_complete_setup"),- data: { 'storages--automatically-managed-project-folders-form-target': 'submitButton' } }.tap do |options_hash|- # For create action, break from Turbo Frame and follow full page redirect- options_hash[:data] = { turbo: false } if new_record?- end+ {+ label: I18n.t("storages.buttons.done_complete_setup"),+ data: { 'storages--automatically-managed-project-folders-form-target': 'submitButton' }.tap do |data_hash|+ # For create action, break from Turbo Frame and follow full page redirect+ data_hash[:turbo] = false if new_record?+ end+ }enddef cancel_button_options