summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-01-03 11:40:54 -0500
committerAdam Young <ayoung@redhat.com>2011-01-03 11:42:39 -0500
commitc2a243365764df94f4be666eb1e39e8e82f13be0 (patch)
tree596f36128737f5879131ee962b99d9a02146c7f7
parent9d9e15456bdbe557812fd8dce141a793bab4e7fd (diff)
downloadfreeipa.git-c2a243365764df94f4be666eb1e39e8e82f13be0.tar.gz
freeipa.git-c2a243365764df94f4be666eb1e39e8e82f13be0.tar.xz
freeipa.git-c2a243365764df94f4be666eb1e39e8e82f13be0.zip
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
-rw-r--r--install/static/add.js2
1 files changed, 1 insertions, 1 deletions
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() { }
);
});