From f60fc2ebad09085fd71d80d1d900483c2999e025 Mon Sep 17 00:00:00 2001 From: Alex M Date: Mon, 19 Sep 2016 20:33:12 +0300 Subject: [PATCH] [Edit] EditorCapability.finish returns domainObj --- platform/commonUI/edit/src/capabilities/EditorCapability.js | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/commonUI/edit/src/capabilities/EditorCapability.js b/platform/commonUI/edit/src/capabilities/EditorCapability.js index 2ea532f6a6..1cbf239d7d 100644 --- a/platform/commonUI/edit/src/capabilities/EditorCapability.js +++ b/platform/commonUI/edit/src/capabilities/EditorCapability.js @@ -103,6 +103,7 @@ define( var domainObject = this.domainObject; return this.transactionService.cancel().then(function () { domainObject.getCapability("status").set("editing", false); + return domainObject; }); };