Merge branch 'master' of dev.gitlabhq.com:gitlabhq
This commit is contained in:
commit
7ebba27db2
3 changed files with 6 additions and 1 deletions
|
@ -8,7 +8,7 @@ class Key < ActiveRecord::Base
|
|||
validates :key,
|
||||
:presence => true,
|
||||
:uniqueness => true,
|
||||
:length => { :within => 0..1600 }
|
||||
:length => { :within => 0..5000 }
|
||||
|
||||
before_save :set_identifier
|
||||
after_save :update_gitosis
|
||||
|
|
|
@ -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…
Add table
Add a link
Reference in a new issue