[Edit] Final two actions now use finish()
This commit is contained in:
@@ -71,7 +71,7 @@ define(
|
||||
EditAction.prototype.perform = function () {
|
||||
var self = this;
|
||||
function cancelEditing() {
|
||||
self.domainObject.getCapability('editor').cancel();
|
||||
self.domainObject.getCapability('editor').finish();
|
||||
self.navigationService.removeListener(cancelEditing);
|
||||
}
|
||||
//If this is not the currently navigated object, then navigate
|
||||
|
||||
@@ -72,7 +72,7 @@ define(
|
||||
}
|
||||
|
||||
function onCancel() {
|
||||
return editorCapability.cancel();
|
||||
return editorCapability.finish();
|
||||
}
|
||||
|
||||
newModel.type = this.type.getKey();
|
||||
|
||||
Reference in New Issue
Block a user