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

Merge branch 'dev' into fix/meeting-stimulus-controllers

Oliver Günther2a8eeb177dd4
diff --cc frontend/src/stimulus/setup.ts
index 64d795f5d6e,fec7c93c991..8ecd0c6a806
--- a/frontend/src/stimulus/setup.ts
+++ b/frontend/src/stimulus/setup.ts
@@@ -58,6 -58,10 +57,9 @@@ instance.register('keep-scroll-position
instance.register('pattern-input', PatternInputController);
instance.register('scroll-into-view', ScrollIntoViewController);
instance.register('ckeditor-focus', CkeditorFocusController);
-instance.register('add-meeting-params', AddMeetingParamsController);
instance.register('highlight-when-value-selected', HighlightWhenValueSelectedController);
-
instance.register('auto-submit', AutoSubmit);
+
+ // Application controller must be registered last, as it tries to automatically load other controllers
+ // not yet registered.
+ instance.register('application', OpApplicationController);
diff --cc modules/meeting/app/components/meeting_sections/header_component.html.erb
index e8676d060ac,0c623eaaf6f..fa6ce17798e
--- a/modules/meeting/app/components/meeting_sections/header_component.html.erb
+++ b/modules/meeting/app/components/meeting_sections/header_component.html.erb
@@@ -46,9 -46,8 +46,8 @@@
method: :put,
url: meeting_section_path(@meeting_section.meeting, @meeting_section),
data: {
- controller: "meeting-section-form scroll-into-view",
- "meeting-section-form-cancel-url-value": cancel_edit_meeting_section_path(@meeting_section.meeting, @meeting_section)
+ controller: "meetings--section-form scroll-into-view",
- "application-target": "dynamic",
+ "meetings--section-form-cancel-url-value": cancel_edit_meeting_section_path(@meeting_section.meeting, @meeting_section)
}
) do |f|
flex_layout do |editable_title_form|
diff --cc modules/meeting/app/components/meetings/show_component.rb
index 840a4639975,0fb1568d2df..325f219bd1c
--- a/modules/meeting/app/components/meetings/show_component.rb
+++ b/modules/meeting/app/components/meetings/show_component.rb
@@@ -43,8 -43,7 +43,7 @@@ module Meeting
def wrapper_data_attributes
{
- controller: "meetings--drag-and-drop meetings--add-params",
- "application-target": "dynamic"
- controller: "meetings-drag-and-drop add-meeting-params"
++ controller: "meetings--drag-and-drop meetings--add-params"
}
end
end