emberjs/ember.js — Issue #473: Need a way to specify ordering of updates
Author: martinstein
Created: 2012-02-04 14:05:50+00:00
State: open

Some data is queried via AJAX from the server and rendered into the page in the success-callback. While the query runs, a loading spinner is shown (achieved by a `classBinding="loading"`). The spinner should disappear only **after** the table is done rendering. So, I want to guarantee that the `loading`-update triggers its changes after the other data updates.

Check this jsfiddle and click the Start-link:

http://jsfiddle.net/4pS9k/10/

The loading-message disappears **before** the other data is fully rendered instead of after, even though I set the `loading` value **after** the other one! (Try in different browsers: On my machine, it happens in Chrome 16.0.912.77, but works fine in FF 9.0.1).