Sorry to reply this late.
Yes, this solve the issue.
Thanks!
Standard view with openstreetmap.org tiles:
Modified view with custom tiles:
The proposed patch
Cassien, be aware that the patch
https://www.drupal.org/project/rules/issues/3338673#comment-14914467
🐛
[10.0] Remove jQuery dependency from the once feature
Fixed
has not been extensively tested and it does not take debug.js
and rules-ui_listing.js
into account.
Could you please report any problem on the page https://www.drupal.org/project/rules/issues/3338673 🐛 [10.0] Remove jQuery dependency from the once feature Fixed ?
Hi!
Following comment #5 saying rules/autocomplete.js was forked, I did the same with Drupal 10 core/misc/autocomplete.js.
From what I saw, the custom autocomplete.js:
- immediately pop-up autocomplete suggestions when the field gets focus
- uses rules-* classes instead of form-* classes
- starts autocompletion with a minimum length of 0
I did not look at debug.js and rules_ui_listing.js.
Can someone please review the patch?
Hi!
After applying the patch, the '$' variable is no more available and triggers the following message:
Uncaught TypeError: $ is undefined
attach https://sandbox.local/modules/contrib/rules/js/autocomplete.js?rpnskb:115
I attached a patch file which works in my case but I highly suspect it does not take into consideration lots of other use cases, neither is it solid.