Problem/Motivation
When using the gin admin theme the confirmation dialog for node state change. Clicking yes to confirm change throws a JS error and the dialog isnot closed and the node form is not submitted
Steps to reproduce
- with the gin admin theme enabled
- enable the dialog on node edit form
- edit a node change state from draft to published
- confirm "yes" to publish
Proposed resolution
The target classes for triggering the submit don't match with those on the gin theme, we can target the gin classes
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3466902-01.patch | 1.11 KB | gavin.hughes |
Comments
Comment #2
gavin.hughes commentedI can see this is addressed in the 3.0 release see but it may be useful for those not yet on the new release https://git.drupalcode.org/project/moderated_content_bulk_publish/-/comm...
Comment #3
joseph.olstadthis was merged a while ago, I'll give you credit.
Comment #4
joseph.olstadWith that said, I have another gin improvement to make.
Comment #6
joseph.olstadyou'll likely want 2.0.38
#3546871: Prevent form anomalies from resulting in multiple confirm dialogs
Comment #7
joseph.olstadif you're on 2.0.x like me, I recommend 2.0.38 or newer 2.0.x