From 4637cca0e05b2457a8b81c86337e604d6df52f31 Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Tue, 26 Mar 2013 20:32:50 +0100 Subject: [PATCH] Update Url for Owncloud >= 5.X --- plugins/owncloud/owncloud.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } });