Skip to content

Reloading contest page does not reload button state #2460

Open
@eldering

Description

@eldering

Description of the problem

https://onlinejudge.icpc.global/jury/contests/3

Your environment

DOMjudge wfluxor-online branch, but pretty sure it's the same on current main.

Steps to reproduce

  1. Open https://onlinejudge.icpc.global/jury/contests/3 or a similar contest URL.
  2. Open in a separate window https://onlinejudge.icpc.global/jury/contests/3/edit
  3. On the edit page, change the Enable public scoreboard setting.
  4. Reload the first window (on Firefox with Linux, I use ctrl+R or F5).

Expected behaviour

I expect to see the changed state of the Enable public scoreboard setting reflected on the first page, but I don't. Only when I go to the URL bar and press enter there, I do see the change. The same is true for the contests overview page.

This is very confusing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions