Menu

#109 add download plugin, crush only in chrome

v1.0 (example)
open
nobody
None
5
2016-03-07
2016-03-07
athenaxing
No

I have added a download plugin. It works in IE, firefox, but not in chrom.
I found the issue is that only the chrom will resize the window when downloading file.
And the editarea have add window resize event.

I found this code in the edit_area.js

parent.editAreaLoader.add_event(window, "resize", editArea.update_size);
parent.editAreaLoader.add_event(parent.window, "resize", editArea.update_size);
parent.editAreaLoader.add_event(top.window, "resize", editArea.update_size);

What does these codes for?
I have remove these codes in my project. And then my download function works fine.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB