diff --git a/modules/comment/views/admin_manage_comments.html.php b/modules/comment/views/admin_manage_comments.html.php index e3c8546c..25e767d2 100644 --- a/modules/comment/views/admin_manage_comments.html.php +++ b/modules/comment/views/admin_manage_comments.html.php @@ -39,6 +39,21 @@ show: fix_links, }); }); + + $('body').on('click', '.g-button', function() { + var a = $(this); + if (a.find('span.ui-icon-seek-next, span.ui-icon-seek-end, span.ui-icon-seek-prev, span.ui-icon-seek-first').length > 0) { + event.stopPropagation(); + $.scrollTo(0, 800, { easing: "swing" }); + a.parents(".ui-tabs-panel").load( + a.attr("href"), + function() { + fix_links(); + }); + + return false; + } + });