Needs review
Project:
Token
Version:
8.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2025 at 12:19 UTC
Updated:
1 Jun 2026 at 12:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mukeshaddweb commentedDrupal 10.5.x upgraded jQuery from 3.x to 4.0.0. jQuery 4.0 removed event shorthand methods like .focus(handler) and .click(handler).
The Token module's token.js uses both of these removed methods, causing a JavaScript error that breaks the tokenInsert behavior
The attached patch replaces both deprecated event shorthand calls in js/token.js with .on() equivalents
Please test this patch and let us know if it resolves your issue. If this patch does not fix the problem, please provide the more details so we can investigate further