Commit 8d714b07 authored by Stan Hu's avatar Stan Hu

Merge branch 'fix-missing-function-dropzone-input' into 'master'

Restored missing function inside dropzone_input.js

Closes #33836

See merge request !12279
parents f86ac8f5 2ddab6cd
......@@ -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();
......
---
title: Fix for cut & pasted images not working
merge_request:
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment