Fixes scaling not working by generating alarmCues in javascript. This has the added bonus of cleaning up the ugly html variable passing in event.js.php.
I used the api to get frame information because I couldn't see anywhere in the older ajax folder that had it. I don't know if there's a meaningful performance hit for that. I set the default timeout for jquerys getJSON to the ajax timeout. This may be a gotcha at some point but it should allow cleaner code when trying to get away from mootools.
Also changed the navigation button class to inactive like it is on the old event view.
Fixes scaling not working by generating alarmCues in javascript. This has the added bonus of cleaning up the ugly html variable passing in event.js.php.
I used the api to get frame information because I couldn't see anywhere in the older ajax folder that had it. I don't know if there's a meaningful performance hit for that. I set the default timeout for jquerys getJSON to the ajax timeout. This may be a gotcha at some point but it should allow cleaner code when trying to get away from mootools.
Also changed the navigation button class to inactive like it is on the old event view.