From d3db26499c6cc3c7e5ff67c0b490c55988b9de48 Mon Sep 17 00:00:00 2001 From: Alex M Date: Thu, 15 Sep 2016 23:14:12 +0300 Subject: [PATCH] [Edit] CreateAction needs to perform("save-as") --- platform/commonUI/edit/src/creation/CreateAction.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/commonUI/edit/src/creation/CreateAction.js b/platform/commonUI/edit/src/creation/CreateAction.js index 711e4001a6..b83351544f 100644 --- a/platform/commonUI/edit/src/creation/CreateAction.js +++ b/platform/commonUI/edit/src/creation/CreateAction.js @@ -90,9 +90,9 @@ define( if (editAction) { return editAction.perform(); } else if (editorCapability) { - //otherwise, use the save action + //otherwise, use the save as action editorCapability.edit(); - return newObject.getCapability("action").perform("save").then(onSave, onCancel); + return newObject.getCapability("action").perform("save-as").then(onSave, onCancel); } };