reciprocity/ggrc-core — pull request #319 by bmomberger-reciprocity (2013-09-06 23:49:45+00:00)
Title: Section spinners reliably removed from list header (#56368740)

Sometimes the sub-tree (e.g. sections in directives) is being drawn when not yet attached to the parent, causing updateCount and loaded events to go nowhere other than to a document fragment. With this fix the element is polled for being a descendant of the document element (i.e. attached to DOM) before triggering the aforementioned events.