openwisp-controller
openwisp-controller copied to clipboard
[bug] History pages have their JS broken because owControllerApiHost is undefined
How to replicate in devices:
- create a device (or have an existing one created), make sure it has a config
- make changes to the config once it's saved
- click on history and go to the previous revision (open its details)
- open the console, you should see a JS error now, the "edit" icon is also not loaded properly
How to replicate in templates:
- create a device (or have an existing one created), make sure it has a config
- make changes to the config once it's saved
- click on history and go to the previous revision (open its details)
- go to advanced mode, you should see that the icon for the button to go back to normal mode doesn't load
Something identical happens in VPN Server too.