enviroCar / enviroCar-www

Website of the enviroCar project
http://envirocar.org/
Other
8 stars 10 forks source link

major workflow fix.. dude, wtf?! #229

Closed matthesrieke closed 9 years ago

matthesrieke commented 9 years ago

By mistake (ugh, it was a pretty obvious one) I found the issue why the dashboard did not load all entities every time. ALL (!! :boom: ) API requests on the dashboard were executed as soon as the scripts were loaded. This resulted in issues as some DOM elements were not present when the callback for the requests was done.

all requests have been moved to a function that is called on documentReady (via query).