fix for Issue 1838

Remove isDirty check, always allow blocking popup when exiting edit mode
This commit is contained in:
Deep Tailor 2018-01-04 11:06:55 -08:00 committed by Victor Woeltjen
parent 7529a86d01
commit 39d3e92094

View File

@ -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 () {