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
This commit is contained in:
Adam Young 2011-01-03 11:40:54 -05:00
parent 9d9e15456b
commit c2a2433657

View File

@ -77,7 +77,7 @@ function ipa_add_dialog(spec) {
state[that.entity_name + '-pkey'] = pkey;
$.bbq.pushState(state);
},
function() { that.close(); }
function() { }
);
});