From c71ebdab1ead8c7fea88f6cfefce43a4697f5a54 Mon Sep 17 00:00:00 2001
From: Adam Young <ayo...@redhat.com>
Date: Thu, 23 Dec 2010 14:34:25 -0500
Subject: [PATCH] cancel on failure
 if you clicked cancle after an RPC failure before, the add dialog would close.
 This prevents that from happeneing.

fixes https://fedorahosted.org/freeipa/ticket/663
---
 install/static/add.js |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/install/static/add.js b/install/static/add.js
index 22914bbe20d771ca61e1235963d43a7bba867d01..ab394abd6dd41ac61c3bfce0a3346a98b970aacf 100644
--- a/install/static/add.js
+++ b/install/static/add.js
@@ -76,8 +76,7 @@ function ipa_add_dialog(spec) {
                     state[that.entity_name + '-facet'] = 'details';
                     state[that.entity_name + '-pkey'] = pkey;
                     $.bbq.pushState(state);
-                },
-                function() { that.close(); }
+                }
             );
         });
 
-- 
1.7.3.4

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to