mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-01-19 15:52:10 +01:00
Correct url for bookmark loading
This commit is contained in:
parent
cb819fda3c
commit
e5a2f1f612
@ -113,8 +113,8 @@ function getBookmarks() {
|
|||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
url: OC.filePath('bookmarks', 'ajax', 'updateList.php') + '&type=rel_tags',
|
url: OC.filePath('bookmarks', 'ajax', 'updateList.php'),
|
||||||
data: {tag: $('#bookmarkFilterTag').val(), page:bookmarks_page, sort:bookmarks_sorting },
|
data: { type:'rel_tags', tag: $('#bookmarkFilterTag').val(), page:bookmarks_page, sort:bookmarks_sorting },
|
||||||
success: function(tags){
|
success: function(tags){
|
||||||
$('.tag_list').empty();
|
$('.tag_list').empty();
|
||||||
for(var i in tags.data) {
|
for(var i in tags.data) {
|
||||||
@ -130,8 +130,8 @@ function getBookmarks() {
|
|||||||
}
|
}
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'GET',
|
type: 'GET',
|
||||||
url: OC.filePath('bookmarks', 'ajax', 'updateList.php') + '&type=bookmark',
|
url: OC.filePath('bookmarks', 'ajax', 'updateList.php'),
|
||||||
data: {tag: $('#bookmarkFilterTag').val(), page:bookmarks_page, sort:bookmarks_sorting },
|
data: { type:'bookmark', tag: $('#bookmarkFilterTag').val(), page:bookmarks_page, sort:bookmarks_sorting },
|
||||||
success: function(bookmarks){
|
success: function(bookmarks){
|
||||||
if (bookmarks.data.length) {
|
if (bookmarks.data.length) {
|
||||||
bookmarks_page += 1;
|
bookmarks_page += 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user