Merge pull request #574 from blink1073/fix-upload

Fix handling of upload add_link
This commit is contained in:
Min RK 2015-10-20 15:40:15 +01:00
commit 61c99ca11c

View File

@ -825,7 +825,7 @@ define([
filedata = btoa(bytes);
format = 'base64';
}
var model = {};
var model = { name: filename, path: path };
var name_and_ext = utils.splitext(filename);
var file_ext = name_and_ext[1];