- Issue created by @finnsky
- Merge request !4Issue #3416649: Ajax dialogs won't display corretctly if they contain multiple HTML elements → (Merged) created by finnsky
- Status changed to Needs review
over 1 year ago 8:59am 24 January 2024 - 🇷🇸Serbia finnsky
We have 1.x and 1.0.x it makes some misunderstandings ;)
Nvm. Pushed hotfix for ajax blocks. It works now. Later we need to review it more carefully.
- Status changed to Postponed: needs info
about 1 year ago 3:58pm 26 January 2024 - 🇩🇪Germany Grevil
We have 1.x and 1.0.x
Yes... super annoying @Anybody accidentally created 1.0.x, and I wanted to create a dev release on 1.x, but accidentally created one on 1.0.x, because we created dev releases simultaneously... unfortunately 1.0.x can not be removed...
MR looks interesting, are the other already tested dialog scenarios still working after these changes (see https://www.drupal.org/project/drupal/issues/2158943#comment-15405906 📌 Add a native dialog element to deprecate the jQuery UI dialog Needs work )?
- Status changed to Needs review
about 1 year ago 8:17am 29 January 2024 - 🇷🇸Serbia finnsky
Yes. Just tested it. All fine
https://gyazo.com/02a36d4bb44e1587bbc4fa2f9abc808b - Status changed to Needs work
about 1 year ago 12:39pm 1 February 2024 - 🇷🇸Serbia finnsky
Found more issues here like announcement dialog
https://gyazo.com/280557b6019d1ab6aff27f6ed9f65589 - 🇩🇪Germany Grevil
The current code doesn't seem to fix the creation of the drupal-modal wrapper in drupal.ajax.js, as the comment states?
- Assigned to Grevil
- 🇩🇪Germany Grevil
Ok, I see the fix now. We are currently only getting the first element of "drupal-modal", but on some occasions, there are multiple elements in "drupal-modal". I am still against keeping the unnecessary div in. Instead we should create a "dialog-native_content" div and paste all the HTML elements in there.
- Issue was unassigned.
- Status changed to Needs review
about 1 year ago 9:45am 5 February 2024 - 🇩🇪Germany Grevil
I also adjusted the order of the theme functions (header top, content mid, buttons bot).
- Status changed to RTBC
about 1 year ago 6:34am 13 February 2024 - Status changed to Fixed
about 1 year ago 7:55am 14 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.