Commit a4fbe13f authored by Valery Sizov's avatar Valery Sizov

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

parent 1bcdc0a5
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
:plain :plain
$("#new_key_dialog").dialog("close"); $("#new_key_dialog").dialog("close");
$("#keys-table").append("#{escape_javascript(render(:partial => 'show', :locals => {:key => @key} ))}"); $("#keys-table").append("#{escape_javascript(render(:partial => 'show', :locals => {:key => @key} ))}");
$("#no_ssh_key_defined").hide();
- else - else
:plain :plain
$("#new_key_dialog").empty(); $("#new_key_dialog").empty();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment