Commit a4fbe13fce87cb6ff2a27a2574ae25bf1dad145c
1 parent
1bcdc0a5
Exists in
master
and in
4 other branches
[#243] – When user adds first key the add a key message should go away
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/views/keys/create.js.haml
@@ -2,6 +2,7 @@ | @@ -2,6 +2,7 @@ | ||
2 | :plain | 2 | :plain |
3 | $("#new_key_dialog").dialog("close"); | 3 | $("#new_key_dialog").dialog("close"); |
4 | $("#keys-table").append("#{escape_javascript(render(:partial => 'show', :locals => {:key => @key} ))}"); | 4 | $("#keys-table").append("#{escape_javascript(render(:partial => 'show', :locals => {:key => @key} ))}"); |
5 | + $("#no_ssh_key_defined").hide(); | ||
5 | - else | 6 | - else |
6 | :plain | 7 | :plain |
7 | $("#new_key_dialog").empty(); | 8 | $("#new_key_dialog").empty(); |