[Freeipa-devel] [PATCH] fail clean add and edit

Adam Young ayoung at redhat.com
Mon Jan 3 16:56:32 UTC 2011


Pushed under the one-line rule


commit c2a243365764df94f4be666eb1e39e8e82f13be0
Author: Adam Young <ayoung at redhat.com>
Date:   Mon Jan 3 11:40:54 2011 -0500

     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() {  }
              );
          });




More information about the Freeipa-devel mailing list