diff --git a/platform/commonUI/edit/src/actions/SaveAsAction.js b/platform/commonUI/edit/src/actions/SaveAsAction.js index d13f723bb8..059adbfe57 100644 --- a/platform/commonUI/edit/src/actions/SaveAsAction.js +++ b/platform/commonUI/edit/src/actions/SaveAsAction.js @@ -141,8 +141,8 @@ define( return copyService.perform(domainObject, parent, allowClone); } - function undirty(domainObject) { - return domainObject.getCapability('persistence').refresh(); + function undirty(object) { + return object.getCapability('persistence').refresh(); } function undirtyOriginals(object) {