From e5a2f1f612ec461c2cb8e4da3591a5b536aa963b Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Mon, 29 Oct 2012 20:17:17 +0000 Subject: [PATCH] Correct url for bookmark loading --- js/bookmarks.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/bookmarks.js b/js/bookmarks.js index 94b98fca..dba3cd25 100644 --- a/js/bookmarks.js +++ b/js/bookmarks.js @@ -113,8 +113,8 @@ function getBookmarks() { $.ajax({ type: 'GET', - url: OC.filePath('bookmarks', 'ajax', 'updateList.php') + '&type=rel_tags', - data: {tag: $('#bookmarkFilterTag').val(), page:bookmarks_page, sort:bookmarks_sorting }, + url: OC.filePath('bookmarks', 'ajax', 'updateList.php'), + data: { type:'rel_tags', tag: $('#bookmarkFilterTag').val(), page:bookmarks_page, sort:bookmarks_sorting }, success: function(tags){ $('.tag_list').empty(); for(var i in tags.data) { @@ -130,8 +130,8 @@ function getBookmarks() { } $.ajax({ type: 'GET', - url: OC.filePath('bookmarks', 'ajax', 'updateList.php') + '&type=bookmark', - data: {tag: $('#bookmarkFilterTag').val(), page:bookmarks_page, sort:bookmarks_sorting }, + url: OC.filePath('bookmarks', 'ajax', 'updateList.php'), + data: { type:'bookmark', tag: $('#bookmarkFilterTag').val(), page:bookmarks_page, sort:bookmarks_sorting }, success: function(bookmarks){ if (bookmarks.data.length) { bookmarks_page += 1;