Closed rdwebdesign closed 5 months ago
Current development-v6 branch
After https://github.com/pi-hole/web/pull/2882/ the Tools > Update Gravity page is automatically redirected to Settings page.
This is happening because the function applyExpertSettings() is triggering a redirect if there are no visible .box elements on the page.
applyExpertSettings()
.box
The real issue is: this should be triggered only inside Settings pages, not in Tools (or any other page).
Steps to reproduce the behavior:
Reported on Discourse: https://discourse.pi-hole.net/t/update-gravity-website-broken-reproducable-and-possible-solution-found
Fixed by #2993
Versions
Current development-v6 branch
Bug description
After https://github.com/pi-hole/web/pull/2882/ the Tools > Update Gravity page is automatically redirected to Settings page.
This is happening because the function
applyExpertSettings()
is triggering a redirect if there are no visible.box
elements on the page.The real issue is: this should be triggered only inside Settings pages, not in Tools (or any other page).
Steps to reproduce
Steps to reproduce the behavior:
Additional context
Reported on Discourse: https://discourse.pi-hole.net/t/update-gravity-website-broken-reproducable-and-possible-solution-found