- Issue created by @3cwebdev
- Status changed to Needs review
about 1 year ago 11:04am 5 September 2023 - π§πͺBelgium dieterholvoet Brussels
I found a better solution, hiding/showing the container using JS. I also changed the submit button selector from
.node-form .form-submit
to.page-wrapper .form-submit
, fixing an issue where the input is not enabled when using Gin theme. - πΊπΈUnited States 3cwebdev
Thank you, DieterHolvoet - your updated patch works nicely for us.
- πΊπΈUnited States 3cwebdev
Created a new, small patch to add an inline style to the ajax container to prevent the anti-dupe box from flashing during node form loads.
- π§πͺBelgium dieterholvoet Brussels
I fixed an issue where submit buttons are locked after any AJAX request, not just after changing the title. I also added the inline style fix to the main patch.
Steps to reproduce
- Type a title you know will give some duplicate results
- Click the Not a duplicate button. The submit buttons will unlock.
- Trigger an AJAX request elsewhere on the page, eg. by adding a new field item to a multiple cardinality field.
- The submit buttons are locked again, without a Not a duplicate button to click. You now have to change the title to get a new Not a duplicate button.
Proposed resolution
Don't lock the submit buttons after random AJAX calls.
-
matsbla β
committed c49daa6c on 4.0.x authored by
DieterHolvoet β
Issue #3373366 by 3CWebDev, DieterHolvoet: Fix for message displaying...
-
matsbla β
committed c49daa6c on 4.0.x authored by
DieterHolvoet β
- Status changed to Fixed
about 1 year ago 10:56pm 8 October 2023 Automatically closed - issue fixed for 2 weeks with no activity.