UI bug when starting/stopping server or AutoDJ

Read 5342 times
Pretty annoying bug, and I finally got time to report it. The server and AutoDJ controls are not refreshed when server is started or stopped.

Steps to reproduce:
1. Log in as client. Let's say that server is stopped.
2. Click Start on the left.
3. Centova says: "Stream started successfully." - that's OK. But on the left there is still Start link, as the server is still stopped - that should be changed to Stop/Reload/Admin.
4. The AutoDJ controls (start/stop/next) also do not appear.
5. A workaround is to refresh the page or navigate to some other page in the control panel - after that the controls become as they should be.

Probably Centova should set some sort of timer which updates controls which correspond to the present server state.

The first picture shows the issue: the server is started, the station is online, but the controls on the left are not updated.

The second picture is after the page is refreshed: the controls are now as they should be.
http://www.radioboss.fm - stream hosting
http://www.djsoft.net - radio automation software
The bug is still there...
http://www.radioboss.fm - stream hosting
http://www.djsoft.net - radio automation software
After you click on STOP (or START) it comes back with with the screen you have shown.

Under Status Change if you click on RETURN, it does update the status of Auto DJ or the stream.
AJAX is the best solution here. Or simpler solution, just show Start button after Stop was clicked (and vice versa) regardless of the actual server state.

As it works now, it's not acceptable. Buttons state do not reflect actual server state. This is confusing and counter intuitive for users (and for me, too).

I don't understand why Steve says it's not a bug... We can start a poll and prove him wrong :)
http://www.radioboss.fm - stream hosting
http://www.djsoft.net - radio automation software