diff --git a/static/js/tree.js b/static/js/tree.js index c13c4de..0643007 100644 --- a/static/js/tree.js +++ b/static/js/tree.js @@ -160,7 +160,7 @@ var tree = { return false; } - window.open(config.context + '/file/zip?path=' + wide.curNode.path + '.zip'); + window.location.href = config.context + '/file/zip?path=' + wide.curNode.path + '.zip'; } }); },