summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorBrice Maron <[email protected]>2013-03-26 20:32:50 +0100
committerBrice Maron <[email protected]>2013-03-26 20:32:50 +0100
commit4637cca0e05b2457a8b81c86337e604d6df52f31 (patch)
tree7687ebc952f84de4c7b0e8920fb7c54ceabfd77d /plugins
parent3b4c319d2c5bfdebae3a5c91853d71567cd9c036 (diff)
Update Url for Owncloud >= 5.X
Diffstat (limited to 'plugins')
-rw-r--r--plugins/owncloud/owncloud.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/owncloud/owncloud.js b/plugins/owncloud/owncloud.js
index 6e971030b..df929e015 100644
--- a/plugins/owncloud/owncloud.js
+++ b/plugins/owncloud/owncloud.js
@@ -15,7 +15,8 @@ function ownArticle(id) {
onComplete: function(transport) {
var ti = JSON.parse(transport.responseText);
- var share_url = ti.ownurl + "?app=bookmarks&getfile=addBm.php?output=popup&url=" + param_escape(ti.link);
+ var share_url = ti.ownurl + "/apps/bookmarks/addBm.php?output=popup&url=" + param_escape(ti.link)
+ + '&title=' + ti.title;
w.location.href = share_url;
} });