mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 22:17:49 +00:00
[Common UI] Correct dialog failure behavior
When a dialog is already showing, act as if the user input was cancelled and show a warning. Part of ongoing transition of common user interface bundles for WTD-574.
This commit is contained in:
parent
2ab3f5f5f9
commit
eff9747198
@ -42,8 +42,10 @@ define(
|
||||
$log.warn([
|
||||
"Dialog already showing; ",
|
||||
"unable to show ",
|
||||
title
|
||||
formModel.name
|
||||
].join(""));
|
||||
deferred.reject();
|
||||
return;
|
||||
}
|
||||
|
||||
scope.dialog.visible = true;
|
||||
|
Loading…
Reference in New Issue
Block a user