[#243] – When user adds first key the add a key message should go away

This commit is contained in:
Valery Sizov 2011-11-22 22:26:07 +02:00
parent 1bcdc0a505
commit a4fbe13fce

View file

@ -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();