mirror of
https://github.com/nasa/openmct.git
synced 2025-03-23 20:45:17 +00:00
fix for Issue 1838
Remove isDirty check, always allow blocking popup when exiting edit mode
This commit is contained in:
parent
7529a86d01
commit
39d3e92094
@ -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 () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user