Skip to content

Commit

Permalink
Fix statusmessage and form validation selectors for Barceloneta LTS (#…
Browse files Browse the repository at this point in the history
…976)

* fix statusmessage and form validation error selectors for Barceloneta LTS

* revert wrong optimization
  • Loading branch information
petschki authored and erral committed Jul 3, 2020
1 parent 27086de commit d0ea86a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mockup/patterns/modal/pattern.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ define([
content: '#content',
automaticallyAddButtonActions: true,
loadLinksWithinModal: true,
prependContent: '.portalMessage',
prependContent: '.portalMessage, #global_statusmessage',
onRender: null,
templateOptions: {
className: 'plone-modal fade',
Expand Down Expand Up @@ -154,7 +154,7 @@ define([
timeout: 5000,
displayInModal: true,
reloadWindowOnClose: true,
error: '.portalMessage.error',
error: '.portalMessage.error, .alert-danger',
formFieldError: '.field.error',
onSuccess: null,
onError: null,
Expand Down
2 changes: 1 addition & 1 deletion news/975.feature
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Barceloneta-LTS support
Barceloneta-LTS support for ``mockup-patterns-inlinevalidation`` and ``mockup-patterns-modal``
[petschki]

0 comments on commit d0ea86a

Please sign in to comment.