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.

Command icon 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:

  • 3404753- Comparechanges, plain diff MR !13
  • 3.1.x Comparecompare

Comments

viniciusrp created an issue. See original summary.

viniciusrp’s picture

Status: Active » Needs review
StatusFileSize
new825 bytes

Adding a patch with the fix.

slowflyer’s picture

Status: Needs review » Reviewed & tested by the community

RTBC +1

kosa ilma’s picture

Tested the patch with KPI analytics - version 3.1.1, Drupal core - version 10.2.4 - works.
Thank you.

robertragas made their first commit to this issue’s fork.

  • robertragas committed f768eb76 on 3.1.x
    Issue #3404753 by viniciusrp: Replace the jQuery.once to once from core
    
robertragas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.