1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2025-01-31 01:52:11 +01:00

Avoid reloading related tags when changing pages

This commit is contained in:
Brice Maron 2012-07-02 15:49:20 +02:00
parent c8ef4de201
commit 7ecfbe46a5

View File

@ -72,7 +72,9 @@ function getBookmarks() {
return;
}
bookmarks_loading = true;
//Update Rel Tags
//Update Rel Tags if first page
if(bookmarks_page == 0) {
$.ajax({
type: 'GET',
url: OC.filePath('bookmarks', 'ajax', 'updateList.php') + '&type=rel_tags',
@ -89,6 +91,7 @@ function getBookmarks() {
}
});
}
$.ajax({
type: 'GET',
url: OC.filePath('bookmarks', 'ajax', 'updateList.php') + '&type=bookmark',