Commit bb97f3fd authored by Martin Urban's avatar Martin Urban
Browse files

File: fix #1852

parent cdb2b273
...@@ -157,7 +157,6 @@ var FileBaseActions = Class.extend({ ...@@ -157,7 +157,6 @@ var FileBaseActions = Class.extend({
dfd.done(function() { dfd.done(function() {
if (cut) { if (cut) {
self.removebool = false; self.removebool = false;
self.remove();
// delete cookie // delete cookie
$.removeCookie("vispaFile", { $.removeCookie("vispaFile", {
path: "/" path: "/"
......
...@@ -305,8 +305,6 @@ class FileSystem(object): ...@@ -305,8 +305,6 @@ class FileSystem(object):
target = self.handle_file_name_collision( target = self.handle_file_name_collision(
fullsrc.split(os.sep)[-1], path) fullsrc.split(os.sep)[-1], path)
fulltarget = os.path.join(path, target) fulltarget = os.path.join(path, target)
logger.error(cut)
logger.error("")
if os.path.isdir(fullsrc): if os.path.isdir(fullsrc):
shutil.copytree(fullsrc, fulltarget) shutil.copytree(fullsrc, fulltarget)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment