Update view/js/dropzone-factory.js
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
ad127f4739
commit
789ae23ce5
|
@ -29,7 +29,7 @@ var DzFactory = function (max_imagesize) {
|
||||||
targetTextarea.setRangeText(' ' + serverResponse + ' ');
|
targetTextarea.setRangeText(' ' + serverResponse + ' ');
|
||||||
} else {
|
} else {
|
||||||
targetTextarea.focus();
|
targetTextarea.focus();
|
||||||
document.execCommand('insertText', false /*no UI*/, '\n' + serverResponse + '\n');
|
document.execCommand('insertText', false /*no UI*/, serverResponse);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.on('complete', function(file) {
|
this.on('complete', function(file) {
|
||||||
|
|
Loading…
Reference in a new issue