allow to close editor

This commit is contained in:
2021-08-20 17:56:52 +02:00
parent fec8fa50ed
commit 742445e7b3
8 changed files with 154 additions and 6 deletions

View File

@@ -109,7 +109,8 @@ export default {
this.toggleEditEvaluation();
},
buildEditLink(storedObject) {
return `/wopi/edit/${storedObject.filename}`;
return `/fr/chill_wopi/edit/${storedObject.filename}?returnPath=` + encodeURIComponent(
window.location.pathname + window.location.search + window.location.hash);
},
}
}