aboutsummaryrefslogtreecommitdiffhomepage
path: root/js/poche.js
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-12 11:33:34 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-12 11:33:34 +0200
commitb70971e06b67786bb61e863cf89b3b061b4f6467 (patch)
tree14a96f8b8a99de44bdf0726307f0f1e9ae7d0467 /js/poche.js
parentc775c8436b30fffde88e69a8c8f6bd488d66a585 (diff)
downloadwallabag-b70971e06b67786bb61e863cf89b3b061b4f6467.tar.gz
wallabag-b70971e06b67786bb61e863cf89b3b061b4f6467.tar.zst
wallabag-b70971e06b67786bb61e863cf89b3b061b4f6467.zip
corrections mise en page avec utilisation de jquery.masonry.js
Diffstat (limited to 'js/poche.js')
-rw-r--r--js/poche.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/js/poche.js b/js/poche.js
index 6751920a..42958e83 100644
--- a/js/poche.js
+++ b/js/poche.js
@@ -6,11 +6,15 @@ function toggle_favorite(element,id) {
6 }); 6 });
7} 7}
8 8
9
10function toggle_archive(id) { 9function toggle_archive(id) {
11 $('#entry-'+id).toggle(); 10 /*$('#entry-'+id).toggle();*/
12 $.ajax ({ 11 $.ajax ({
13 url: "process.php?action=toggle_archive", 12 url: "process.php?action=toggle_archive",
14 data:{id:id} 13 data:{id:id}
15 }); 14 });
16} 15 var obj = $('#entry-'+id);
16 $('#content').masonry('remove',obj);
17
18 $('#content').masonry('reloadItems');
19 $('#content').masonry('reload');
20} \ No newline at end of file