Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
This commit is contained in:
commit
4d9060f49e
@ -1771,7 +1771,8 @@ define([
|
|||||||
if (parentPath) {
|
if (parentPath) {
|
||||||
$a = $('<a>').text(Messages.fm_openParent).click(function (e) {
|
$a = $('<a>').text(Messages.fm_openParent).click(function (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
parentPath.pop();
|
if (filesOp.isInTrashRoot(parentPath)) { parentPath = [TRASH]; }
|
||||||
|
else { parentPath.pop(); }
|
||||||
module.displayDirectory(parentPath);
|
module.displayDirectory(parentPath);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -1823,6 +1824,7 @@ define([
|
|||||||
displayDirectory(parentPath, true);
|
displayDirectory(parentPath, true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!isSearch) { delete APP.Search.oldLocation; }
|
||||||
|
|
||||||
module.resetTree();
|
module.resetTree();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user