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
Add missing data attribtue on the submit button of the primer dialog which is needed to reset all changes in the background when the button is clicked (#50489)
Henriette Dargef1eaeb74501b
diff --git a/modules/meeting/app/components/meetings/sidebar/details_form_component.html.erb b/modules/meeting/app/components/meetings/sidebar/details_form_component.html.erbindex 4931236d2be..4a44dd61a62 100644--- a/modules/meeting/app/components/meetings/sidebar/details_form_component.html.erb+++ b/modules/meeting/app/components/meetings/sidebar/details_form_component.html.erb@@ -40,7 +40,9 @@t("button_cancel")end- modal_footer.with_component(Primer::ButtonComponent.new(scheme: :primary, type: :submit)) do+ modal_footer.with_component(Primer::ButtonComponent.new(scheme: :primary,+ type: :submit,+ data: { 'submit-dialog-id': "edit-meeting-details-dialog" })) dot("button_save")endenddiff --git a/modules/meeting/app/components/meetings/sidebar/participants_form_component.html.erb b/modules/meeting/app/components/meetings/sidebar/participants_form_component.html.erbindex dbd369a60c7..aa926b450b0 100644--- a/modules/meeting/app/components/meetings/sidebar/participants_form_component.html.erb+++ b/modules/meeting/app/components/meetings/sidebar/participants_form_component.html.erb@@ -97,7 +97,9 @@t("button_cancel")end- footer.with_component(Primer::ButtonComponent.new(scheme: :primary, type: :submit)) do+ footer.with_component(Primer::ButtonComponent.new(scheme: :primary,+ type: :submit,+ data: { 'submit-dialog-id': "edit-participants-dialog" })) dot("button_save")endenddiff --git a/modules/meeting/app/components/work_package_meetings_tab/add_work_package_to_meeting_form_component.html.erb b/modules/meeting/app/components/work_package_meetings_tab/add_work_package_to_meeting_form_component.html.erbindex 30319961c8f..95ed5abe88e 100644--- a/modules/meeting/app/components/work_package_meetings_tab/add_work_package_to_meeting_form_component.html.erb+++ b/modules/meeting/app/components/work_package_meetings_tab/add_work_package_to_meeting_form_component.html.erb@@ -31,7 +31,9 @@)) dot("button_cancel")end- collection1.with_component(Primer::ButtonComponent.new(scheme: :primary, type: :submit)) do+ collection1.with_component(Primer::ButtonComponent.new(scheme: :primary,+ type: :submit,+ data: { 'submit-dialog-id': "add-work-package-to-meeting-dialog" })) dot("button_save")endend