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

Restored missing function inside dropzone_input.js

Closes #33836

See merge request !12279
This commit is contained in:
Stan Hu 2017-06-19 23:48:54 +00:00
commit 8d714b0788
2 changed files with 8 additions and 0 deletions

View File

@ -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();

View File

@ -0,0 +1,4 @@
---
title: Fix for cut & pasted images not working
merge_request:
author: