Problem/Motivation
The KPI still using jQuery.once in your javascript file and it is incompatible with D10.
Steps to reproduce
- Enable KPI module
- Create a new dashboard
- Add KPI blocks
- Check the error at console-log
Proposed resolution
Replace the jQuery.once to once from core.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | kpi_analytics-using-deprecated-function-removed-at-d10-3404753-2.patch | 825 bytes | viniciusrp |
Issue fork kpi_analytics-3404753
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
viniciusrp commentedAdding a patch with the fix.
Comment #3
slowflyer commentedRTBC +1
Comment #4
kosa ilma commentedTested the patch with KPI analytics - version 3.1.1, Drupal core - version 10.2.4 - works.
Thank you.
Comment #8
robertragas commented