Account created on 2 August 2022, over 2 years ago
#

Merge Requests

Recent comments

🇫🇷France Zigazou

Zigazou changed the visibility of the branch 1.0.x to hidden.

🇫🇷France Zigazou

Sorry to reply this late.

Yes, this solve the issue.

Thanks!

🇫🇷France Zigazou

Standard view with openstreetmap.org tiles:

Modified view with custom tiles:

🇫🇷France Zigazou

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 ?

🇫🇷France Zigazou

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?

🇫🇷France Zigazou

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
🇫🇷France Zigazou

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.

Production build 0.71.5 2024