diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-26 12:05:22 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-26 13:56:58 +0300 |
commit | 4a30187fc11655a5f3de15f91e20f1c90d8a90e6 (patch) | |
tree | f9ce0e4c1e0b58a149f566ab611f4fc1bf6ec860 /js | |
parent | a690d98e337f6f5d30c363f06a44dd40901fc84a (diff) |
Parse the link to AssertURL trought he generateURL
This is to make sure that index.php etc is properly added. Else this
might fail on some setups.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'js')
-rw-r--r-- | js/documents.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/documents.js b/js/documents.js index 31a949b1..6ad7d0bb 100644 --- a/js/documents.js +++ b/js/documents.js @@ -527,7 +527,7 @@ var documentsMain = { var filename = path.substring(path.lastIndexOf('/') + 1); $.ajax({ type: 'POST', - url: OC.linkTo('richdocuments', 'assets'), + url: OC.generateUrl('apps/richdocuments/assets'), data: { path: path } |