From c2a243365764df94f4be666eb1e39e8e82f13be0 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Jan 03 2011 16:42:39 +0000 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 --- diff --git a/install/static/add.js b/install/static/add.js index 22914bb..0acf785 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() { } ); });