[Fixed Position] Update specs

Update failing specs after changes for WTD-881.
This commit is contained in:
Victor Woeltjen
2015-02-24 09:07:57 -08:00
parent 307fbe2151
commit 8452b2ab12
3 changed files with 8 additions and 13 deletions

View File

@ -64,8 +64,6 @@ define(
if (attrs.toolbar) {
// Initialize toolbar object
toolbar = new EditToolbar(definition, commit);
// Expose toolbar state under that name
scope.$parent[attrs.toolbar] = toolbarObject;
}
}
@ -96,6 +94,8 @@ define(
scope.$watchCollection(getState, updateState);
// Watch for changes in the current selection state
scope.$watchCollection("selection", updateSelection);
// Expose toolbar state under that name
scope.$parent[attrs.toolbar] = toolbarObject;
}
return {