Commit 796205cd authored by Ronan Abhamon's avatar Ronan Abhamon

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

parent 1aa110ba
...@@ -28,7 +28,7 @@ Item { ...@@ -28,7 +28,7 @@ Item {
function _emitFiles (files) { function _emitFiles (files) {
// Filtering files, other urls are forbidden. // Filtering files, other urls are forbidden.
files = files.reduce(function (files, file) { files = files.reduce(function (files, file) {
if (file.startsWith('file:') { if (file.startsWith('file:')) {
files.push(Utils.getPathFromUri(file)) files.push(Utils.getPathFromUri(file))
} }
......
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