Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes proper pat-plone-modal config to show user addition info #4048

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@

<div class="mb-3 input-group">
<a class="pat-plone-modal btn btn-success me-3" id="add-group"
data-pat-plone-modal= '{
"content": "#content-core",
"actionOptions": {
"disableAjaxFormSubmit": true
}
}'
tal:attributes="href string:${portal_url}/@@usergroup-groupdetails"
i18n:translate="label_add_new_group">Add New Group</a>
<span class="input-group-text" id="quickSearchLabel" i18n:translate="label_group_search">Group Search</span>
Expand Down Expand Up @@ -211,5 +217,4 @@

</metal:main>
</body>
</html>

</html>
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
<div class="mb-3 input-group">
<a class="pat-plone-modal me-3 btn btn-success " id="add-user"
data-pat-plone-modal='{
"content": "#content-core",
"actionOptions": {
"redirectOnResponse": true,
"redirectToUrl": "${portal_url}/@@usergroup-userprefs"
"disableAjaxFormSubmit": true
}
}'
tal:attributes="href string:${portal_url}/@@new-user"
Expand Down
2 changes: 2 additions & 0 deletions news/4044.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Disable AJAX form submission upon user and group addition
[rohnsha0]