Problem/Motivation
The file /js/conflict_resolution.js contains deprecated code related to jQuery once. This is causing console log errors with D10 in
$('.conflict-resolution-dialog .conflict-resolve-conflicts').once('bind-conflict-resolve-conflicts').each(function () {
$(this).on('click', function () {
$('#conflict-overview-form [name="conflict-resolve-conflicts"]').mousedown();
});
});
Steps to reproduce
Do a field conflict with D9.2 higher or D10
Proposed resolution
See change record https://www.drupal.org/node/3158256
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3415285-2.patch | 658 bytes | dineshkumarbollu |
| Screenshot 2024-01-17 at 14.37.41.png | 98.7 KB | onnia |
Comments
Comment #2
dineshkumarbollu commentedCreated patch for this issue, please review Thanks.
Comment #3
onnia commentedNice work! Tested this with D10.1 and with 2.0.0-alpha3, no more console log error!
Comment #6
joseph.olstad