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:
authorStan Hu <stanhu@gmail.com>2017-06-20 02:48:54 +0300
committerStan Hu <stanhu@gmail.com>2017-06-20 02:48:54 +0300
commit8d714b0788669451d9e7b2debd232247099434c8 (patch)
treead9721aa1551f5b795ded370cf6db73d147b0b66 /app/assets
parentf86ac8f568177aa4586963098a469f28189e2b04 (diff)
parent2ddab6cdbce988b40920a17c623fc91ec8734a21 (diff)
Merge branch 'fix-missing-function-dropzone-input' into 'master'
Restored missing function inside dropzone_input.js Closes #33836 See merge request !12279
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/dropzone_input.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/dropzone_input.js b/app/assets/javascripts/dropzone_input.js
index 98ddcc20036..73675d300be 100644
--- a/app/assets/javascripts/dropzone_input.js
+++ b/app/assets/javascripts/dropzone_input.js
@@ -287,6 +287,10 @@ window.DropzoneInput = (function() {
$uploadingErrorMessage.html(message);
};
+ closeAlertMessage = function() {
+ return form.find('.div-dropzone-alert').alert('close');
+ };
+
form.find('.markdown-selector').click(function(e) {
e.preventDefault();
$(this).closest('.gfm-form').find('.div-dropzone').click();