diff --git a/platform/commonUI/edit/src/controllers/EditObjectController.js b/platform/commonUI/edit/src/controllers/EditObjectController.js index a7f264d9c4..428ab06371 100644 --- a/platform/commonUI/edit/src/controllers/EditObjectController.js +++ b/platform/commonUI/edit/src/controllers/EditObjectController.js @@ -59,10 +59,7 @@ define( var removeCheck = navigationService .checkBeforeNavigation(function () { - if (isDirty(domainObject)) { - return "Continuing will cause the loss of any unsaved changes."; - } - return false; + return "Continuing will cause the loss of any unsaved changes."; }); $scope.$on('$destroy', function () {