summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/keys/create.js.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/keys/create.js.haml b/app/views/keys/create.js.haml
index 7b92be77180..a995c355e3c 100644
--- a/app/views/keys/create.js.haml
+++ b/app/views/keys/create.js.haml
@@ -2,6 +2,7 @@
:plain
$("#new_key_dialog").dialog("close");
$("#keys-table").append("#{escape_javascript(render(:partial => 'show', :locals => {:key => @key} ))}");
+ $("#no_ssh_key_defined").hide();
- else
:plain
$("#new_key_dialog").empty();