diff options
author | Andrew Dolgov <[email protected]> | 2013-03-26 12:39:00 -0700 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-26 12:39:00 -0700 |
commit | 617d7e3490241046943904d618a2e49b5dd365dd (patch) | |
tree | 7687ebc952f84de4c7b0e8920fb7c54ceabfd77d /plugins/owncloud/owncloud.js | |
parent | 3b4c319d2c5bfdebae3a5c91853d71567cd9c036 (diff) | |
parent | 4637cca0e05b2457a8b81c86337e604d6df52f31 (diff) |
Merge pull request #91 from eMerzh/fix_oc5
Owncloud Plugin : Update Url for Owncloud >= 5.X
Diffstat (limited to 'plugins/owncloud/owncloud.js')
-rw-r--r-- | plugins/owncloud/owncloud.js | 3 |
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; } }); |