When looking at a tree as the anonymous user, only a plain list would show. Browser console reports that jQuery is unknown. That's because jQuery is not a dependency in the module. This patch fixes the problem.

Comments

mathieso created an issue. See original summary.

mathieso’s picture

mradcliffe’s picture

StatusFileSize
new308 bytes

Re-rolled the patch in #2 based on changes to views_tree.libraries.yml

mradcliffe’s picture

Title: Missing jQuery dependency » Missing jQuery and jquery.once dependencies
StatusFileSize
new332 bytes

Adds jquery.once from #2793863: Duplicate collapsers for admin so that this patch and patches in that issue can be applied at the same time.

gaurav.kapoor’s picture

Status: Needs review » Fixed

Added jQuery dependency in this issue https://www.drupal.org/project/views_tree/issues/2793863. jQuery.once isn't being used anymore in the module JS and it has been marked deprecated as well so we don't need it anymore.

  • mradcliffe authored 297db8b on 8.x-2.x
    Issue #2793823 by mradcliffe, mathieso: Missing jQuery and jquery.once...

Status: Fixed » Closed (fixed)

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