]> git.wh0rd.org Git - tt-rss.git/commitdiff
Update Url for Owncloud >= 5.X
authorBrice Maron <brice@bmaron.net>
Tue, 26 Mar 2013 19:32:50 +0000 (20:32 +0100)
committerBrice Maron <brice@bmaron.net>
Tue, 26 Mar 2013 19:32:50 +0000 (20:32 +0100)
plugins/owncloud/owncloud.js

index 6e971030b6236df323d3ae7d0621bb742c4e16ab..df929e0150e22c51b6131db7c8f77fbde583a5e7 100644 (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;
            } });