"Send configuration to scheduler" button stopped working

After the latest upgrades, we can no longer send the configuration to the scheduler.

The reason is related:

{"detail":"CSRF Failed: CSRF token missing or incorrect."}

A missing CSRF protection, likely, on the JS side.

We must fix this ASAP.