Use of flag in leaflet

Created on 7 November 2019, about 5 years ago
Updated 17 May 2023, over 1 year ago

Hello,

I created a view with the format leaflet and added a flag in the pop-up field.
But when I click the flag on the pop-up, the flag is not toggled.

The ajax loading icon briefly appears but the flag won't toggle.

Have any of you experiment flag with leaflet and can help me out ?

Thanks

🐛 Bug report
Status

Active

Component

Flag core

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany florianboehme

    Hey there,

    I have a similar problem. I created a view with leaflet. As marker content, I added the flag link field. In the flag settings I set AJAX-Link as link type. When the flag link is clicked, then the flag link results in a 404 page not found. When i set the flag link type to confirm form and the form behavior to "New page", it also works. But with that, it is very uncomfortable. With a "normal" view format it works perfectly.

    Maybe there is a conflict with leaflet, because leaflet runs with ajax too? I don't know, I'm a noob in development ;-)

    Thanks for any help!

Production build 0.71.5 2024