ariatemplates/ariatemplates — pull request #919 by mathbruyen (2014-01-10 14:25:46+00:00)
Title: Section processing indicator not following parent section if not bound to the data model

If one creates a section inside a movable parent (for example a dialog) and creates a process indicator on it by using `this.$getElementById('sectionId').setProcessingIndicator(true, '')` (called on the attached `SectionWrapper` companion) the behaviour is different whether the `bindProcessingTo` attribute of section configuration has been set.

If one activates the spinner on a section for which processing indicator is not bound and then moves the dialog, the spinner remains at the same place. And if one closes the dialog the spinner remains in place. If otherwise processing indicator activation is bound then the spinner follows and closes correctly.

Can be seem using this [demo gist](https://gist.github.com/mathbruyen/8349721).

It sound very strange to me that binding state or letting it free has an impact on spinner behaviour. To me the binding is just another way of enabling/disabling spinner, it should not impact behaviour.

The proposed fix is not smart, but I tried debugging and did not find where the difference was on dialog closing.