Sha256: 10116e50275bbe6cb0d5b5c64f37f67cfca288ade1c2258c187438d8159742fe
Contents?: true
Size: 1.03 KB
Versions: 14
Compression:
Stored size: 1.03 KB
Contents
re_get_publication_show = function(page) { var id = $('.re-menu-publication-show:first').attr('id').replace('re_menu_publication_show_', '') $.get('/re_publications/' + id + '?page=' + page, null, null, 'script'); } $(document).ready(function() { re_get_publication_show(1); $('.re-xtra-publication-next-enabled').live('click', function() { var page = $(this).attr('href').replace('#', '') $('#re_publication_show').hide(); $('#re_publication_show_pending').show(); re_get_publication_show(page); return false; }); $('.re-xtra-publication-next-disabled').live('click', function() { return false; }); $('.re-xtra-publication-prev-enabled').live('click', function() { var page = $(this).attr('href').replace('#', '') $('#re_publication_show').hide(); $('#re_publication_show_pending').show(); re_get_publication_show(page); return false; }); $('.re-xtra-publication-prev-disabled').live('click', function() { return false; }); });
Version data entries
14 entries across 13 versions & 1 rubygems