From 144437a06e308cb7b3f115e5b468c9f5d1f8649c Mon Sep 17 00:00:00 2001 From: Deep Tailor Date: Thu, 4 Jan 2018 12:37:58 -0800 Subject: [PATCH] remove commented code --- .../edit/src/controllers/EditObjectController.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/platform/commonUI/edit/src/controllers/EditObjectController.js b/platform/commonUI/edit/src/controllers/EditObjectController.js index b63e6b3bf1..4262e41874 100644 --- a/platform/commonUI/edit/src/controllers/EditObjectController.js +++ b/platform/commonUI/edit/src/controllers/EditObjectController.js @@ -28,16 +28,6 @@ define( [], function () { - // function isDirty(domainObject) { - // var navigatedObject = domainObject, - // editorCapability = navigatedObject && - // navigatedObject.getCapability("editor"); - - // return editorCapability && - // editorCapability.isEditContextRoot() && - // editorCapability.dirty(); - // } - function cancelEditing(domainObject) { var navigatedObject = domainObject, editorCapability = navigatedObject &&