From c2a243365764df94f4be666eb1e39e8e82f13be0 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Mon, 3 Jan 2011 11:40:54 -0500 Subject: fail clean add and edit Don't close the dialog if the add fails and the user clickes add and edit fixes. https://fedorahosted.org/freeipa/ticket/663 --- install/static/add.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/static/add.js b/install/static/add.js index 22914bbe..0acf7858 100644 --- a/install/static/add.js +++ b/install/static/add.js @@ -77,7 +77,7 @@ function ipa_add_dialog(spec) { state[that.entity_name + '-pkey'] = pkey; $.bbq.pushState(state); }, - function() { that.close(); } + function() { } ); }); -- cgit