Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unzip message error #3252

Closed
shanxichen opened this issue Jan 21, 2021 · 0 comments
Closed

Unzip message error #3252

shanxichen opened this issue Jan 21, 2021 · 0 comments
Assignees

Comments

@shanxichen
Copy link

Unzip the file and check for errors, In the extract.js line 51. So that 'existed' has always been false.

var names = $.map(fm.files(hashes), function(file) { return file.name; }); //line 51
...
existed = ($.inArray(name, names) >= 0), //line 105

The names should be the collection of all sibling elements of the selected file.
The 'fm.files()' accept parameter should be The 'phash' of The selected file, not The 'hash' of The selected file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants