Fixed: correct link for "edit wopi document" in javascript

The link was hardcoded, but not correctly adapted
This commit is contained in:
Julien Fastré 2023-01-16 11:19:25 +01:00
parent 239a978adb
commit 4a56c4c945
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -360,7 +360,7 @@ export default {
; ;
}, },
buildEditLink(storedObject) { buildEditLink(storedObject) {
return `/wopi/edit/${storedObject.uuid}?returnPath=` + encodeURIComponent( return `/chill/wopi/edit/${storedObject.uuid}?returnPath=` + encodeURIComponent(
window.location.pathname + window.location.search + window.location.hash); window.location.pathname + window.location.search + window.location.hash);
}, },
submitBeforeGenerate({template}) { submitBeforeGenerate({template}) {