Commit a4fbe13fce87cb6ff2a27a2574ae25bf1dad145c

Authored by Valery Sizov
1 parent 1bcdc0a5

[#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 2 :plain
3 3 $("#new_key_dialog").dialog("close");
4 4 $("#keys-table").append("#{escape_javascript(render(:partial => 'show', :locals => {:key => @key} ))}");
  5 + $("#no_ssh_key_defined").hide();
5 6 - else
6 7 :plain
7 8 $("#new_key_dialog").empty();
... ...