Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-7326

Carousel Header in a reusable block does not load Hammer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Should have Should have
    • 2.116.1
    • None
    • 3
    • Block: Carousel Header
    • neptune

      When a Carousel Header is used in a Reusable block, the dependency library Hammer is not loaded. It is because we use the "has_block()" native function that can't read into reusable blocks.

      We could either use our own BlockList::has_block() function, or move the asset enqueueing to the Carousel frontend script.

            fhernand Florent Hernandez (Inactive)
            fhernand Florent Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: