bugfix for zip export
This commit is contained in:
parent
5ed01f7e3a
commit
fdd88e0af6
|
@ -600,9 +600,12 @@ function ___copyzip_click(id) {
|
||||||
}
|
}
|
||||||
if (fs[paths[i]] === null) {
|
if (fs[paths[i]] === null) {
|
||||||
// directory
|
// directory
|
||||||
h.subfolders[path_components[path_components.length - 1]] = {
|
var last_component = path_components[path_components.length - 1];
|
||||||
|
if (!h.subfolders.hasOwnProperty(last_component)) {
|
||||||
|
h.subfolders[last_component] = {
|
||||||
subfolders: {},
|
subfolders: {},
|
||||||
files: []
|
files: []
|
||||||
|
};
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// file
|
// file
|
||||||
|
|
Loading…
Reference in New Issue
Block a user