[Timelines] #677 Applied fix to prevent editing of timelines in browse mode
Fixed failing test
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user