|
@@ -2466,6 +2466,13 @@
|
|
|
window.location.reload();
|
|
|
});
|
|
|
return;
|
|
|
+ }else if (data.error == "Unable to resolve target directory"){
|
|
|
+ //Resolve failed. Back to user:/
|
|
|
+ var pdir = currentPath.split("/");
|
|
|
+ pdir = pdir.shift() + "/";
|
|
|
+ listDirectory(pdir, function(){
|
|
|
+ window.location.reload();
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
callback(data);
|