summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-12-24 11:08:46 -0800
committerStan Hu <stanhu@gmail.com>2015-12-24 11:34:32 -0800
commit8309ef45a959715ed6d0727dabe6cc072cea8781 (patch)
tree058f646d2d44c8bfab93ea8daa6c0a13344fadb0
parent1042c16b4b039c3bb946c1534cd7556472dfabd6 (diff)
downloadgitlab-ce-8309ef45a959715ed6d0727dabe6cc072cea8781.tar.gz
Enable "Add key" button when user fills in a proper key
Closes #4295
-rw-r--r--CHANGELOG3
-rw-r--r--app/views/profiles/keys/new.html.haml2
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 96d71331321..e4aefdea259 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -10,6 +10,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)
diff --git a/app/views/profiles/keys/new.html.haml b/app/views/profiles/keys/new.html.haml
index 11166dc6d99..13a18269d11 100644
--- a/app/views/profiles/keys/new.html.haml
+++ b/app/views/profiles/keys/new.html.haml
@@ -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();
}
});