mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Close host adder dialog before showing 4304 dialog
The adder dialog window stayed opened but not visible. This patch closes it. https://fedorahosted.org/freeipa/ticket/6050 Reviewed-By: Lenka Doudova <ldoudova@redhat.com>
This commit is contained in:
parent
dc62dd8c90
commit
3ba3080dfe
@ -976,6 +976,7 @@ rpc.create_4304_error_handler = function(adder_dialog) {
|
||||
var dialog = null;
|
||||
|
||||
if (data && data.error && data.error.code === 4304) {
|
||||
adder_dialog.close();
|
||||
dialog = IPA.message_dialog({
|
||||
name: 'error_4304_info',
|
||||
message: data.error.message,
|
||||
|
Loading…
Reference in New Issue
Block a user