fix(ui/modules/Common/Form/DroppableTextArea): little fix

This commit is contained in:
Ronan Abhamon 2017-06-06 17:36:11 +02:00
parent 1aa110ba8b
commit 796205cd58

View file

@ -28,7 +28,7 @@ Item {
function _emitFiles (files) {
// Filtering files, other urls are forbidden.
files = files.reduce(function (files, file) {
if (file.startsWith('file:') {
if (file.startsWith('file:')) {
files.push(Utils.getPathFromUri(file))
}