openmct/platform/commonUI/general/test/directives
Victor Woeltjen 4e5887d9ec [Tree] Check for change before scope.$apply
TreeView's observers will be called when the selected domain object
changes, which can occur for one of two reasons:

1. Because a new value was set externally, from mct-tree.
2. Because a new value was selected, by the user.

In the latter case a $apply is needed, but in the former it is not
(and causes an error.) However, when that case occurs, the value in
scope will be up to date already (it was a watch that triggered the
call to treeView.value) so no assignment or $apply is necessary.

Fixes #1114.
2016-08-15 16:04:14 -07:00
..
MCTClickElsewhereSpec.js [Documentation] Updated copyright statement. Fixes #1081 2016-07-12 16:55:57 -07:00
MCTContainerSpec.js [Documentation] Updated copyright statement. Fixes #1081 2016-07-12 16:55:57 -07:00
MCTDragSpec.js [Documentation] Updated copyright statement. Fixes #1081 2016-07-12 16:55:57 -07:00
MCTPopupSpec.js [Documentation] Updated copyright statement. Fixes #1081 2016-07-12 16:55:57 -07:00
MCTResizeSpec.js [Documentation] Updated copyright statement. Fixes #1081 2016-07-12 16:55:57 -07:00
MCTScrollSpec.js [Documentation] Updated copyright statement. Fixes #1081 2016-07-12 16:55:57 -07:00
MCTSplitPaneSpec.js [Documentation] Updated copyright statement. Fixes #1081 2016-07-12 16:55:57 -07:00
MCTSplitterSpec.js [Documentation] Updated copyright statement. Fixes #1081 2016-07-12 16:55:57 -07:00
MCTTreeSpec.js [Tree] Check for change before scope.$apply 2016-08-15 16:04:14 -07:00