Merge pull request #91 from eMerzh/fix_oc5

Owncloud Plugin : Update Url for Owncloud >= 5.X
This commit is contained in:
Andrew Dolgov 2013-03-26 12:39:00 -07:00
commit 617d7e3490
1 changed files with 2 additions and 1 deletions

View File

@ -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;
} });