Merge branch 'fix-add-key-submit' into 'master'

Enable "Add key" button when user fills in a proper key

Closes #4295

See merge request !2208
This commit is contained in:
Douwe Maan 2015-12-24 20:28:34 +00:00
commit 7b25da74ea
2 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,9 @@ v 8.4.0 (unreleased)
- Add CAS support (tduehr)
- Add link to merge request on build detail page.
v 8.3.2 (unreleased)
- Enable "Add key" button when user fills in a proper key
v 8.3.1
- Fix Error 500 when global milestones have slashes (Stan Hu)
- Fix Error 500 when doing a search in dashboard before visiting any project (Stan Hu)

View File

@ -12,6 +12,6 @@
comment = val.match(/^\S+ \S+ (.+)\n?$/);
if( comment && comment.length > 1 && title.val() == '' ){
$('#key_title').val( comment[1] );
$('#key_title').val( comment[1] ).change();
}
});