Commit 637a7057 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1581183: Pagination failing due to wrong id



Also needed the js-masonry to be re-done on json results

behatnotneeded

Change-Id: I3f101d2a141227f74320cf66a2e03123cac5c254
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 7f673605
<div class="friends panel-body">
{if $friends}
<div id="userfriends-table">
<div id="userfriendstable">
{$friends.tablerows|safe}
</div>
<div id="myfriends_page_container" class="hidden ">
......@@ -10,6 +10,9 @@
addLoadEvent(function() {literal}{{/literal}
{$friends.pagination_js|safe}
removeElementClass('myfriends_page_container', 'hidden');
jQuery(window).on('pageupdated', { }, function() {
jQuery('.js-masonry.user-thumbnails').masonry({ itemSelector: '.user-icon' });
});
{literal}}{/literal});
</script>
{else}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment