[Timelines] #677 Applied fix to prevent editing of timelines in browse mode

Fixed failing test
This commit is contained in:
Melanie Lean
2016-02-11 21:34:22 -08:00
parent 42ce2aa7cf
commit 53c60ee64f
3 changed files with 30 additions and 3 deletions

View File

@ -109,6 +109,8 @@ define(
// Track the represented object
this.domainObject = representedObject;
this.scope.isEditable = representedObject.getCapability('status').get('editing');
// Ensure existing watches are released
this.destroy();
};