Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-01-08 21:10:43 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-01-08 21:10:43 +0300
commit9bcb655610575956a858ae6fdb1d00deef5f6ad8 (patch)
tree8c2e013c86cf94d2596655bceab865feef53bd38 /app/assets/javascripts/gl_form.js
parent6e734c809b18a0470d81c78e1ecd9b3f8278de89 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/gl_form.js')
-rw-r--r--app/assets/javascripts/gl_form.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/gl_form.js b/app/assets/javascripts/gl_form.js
index f34695ef807..3e777c2dc09 100644
--- a/app/assets/javascripts/gl_form.js
+++ b/app/assets/javascripts/gl_form.js
@@ -67,6 +67,7 @@ export default class GLForm {
addMarkdownListeners(this.form);
this.form.show();
if (this.isAutosizeable) this.setupAutosize();
+ if (this.textarea.data('autofocus') === true) this.textarea.focus();
}
setupAutosize() {