[#243] – When user adds first key the add a key message should go away
This commit is contained in:
parent
1bcdc0a505
commit
a4fbe13fce
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue