-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Location modal not working on some pages #7346
Comments
Hi @nstjean just checking in about this as well, i'd super appreciate some help on this if you have a moment. I noticed this seems to be the case on both the wiki page above, and also on my dashboard. I can open a separate issue for that; it seems also odd because I already have a location on my profile - let's check if there is conditional logic on that template and we'll break it out as a separate issue! |
Thanks! |
Hmmm. I'll take a look. There were two FTOs posted regarding the button, I'll check to make sure both were merged! |
Ah, ok, thanks! |
Ahh here it is. A PR was never submitted for this! #7266 . This is only for the Dashboard, though. It should be working on Wiki pages. I'll keep looking. |
It looks like that console error is stemming from this code here: plots2/app/views/like/_like.html.erb Lines 157 to 209 in aa3b864
It's happening if you click anywhere on the page, not just the button. |
It does look like that error is interfering though. Here is the same issue: |
I think this is related: #7355 |
I'm now seeing this on /unearthing-pvd:
I believe that's actually a 404 error not CORS: the URL directly gives: I'll open an issue based on #8887 for the tile error i'm seeing and let's circle back here. |
Here's a page to test on: https://publiclab.org/wiki/gsoc I am seeing that clicking the button a 2nd time causes a map initialization error. But let's resolve related issues first then circle back: publiclab/leaflet-environmental-layers#514 - TRI error publiclab/leaflet-blurred-location#259 - MapBox API change |
Working now! |
Let's deal with this on Monday! 😅
On https://publiclab.org/wiki/unearthing-pvd the
Add a location
button doesn't seem to work, so I wonder if it's interacting somehow with some of our other mapping code?I see this error, though, which could be involved:
The text was updated successfully, but these errors were encountered: