Unobtrusive pagination_links_remote
This commit is contained in:
parent
c173cf4a6a
commit
a47d4b1f0e
3 changed files with 9 additions and 4 deletions
|
|
@ -60,6 +60,12 @@ $(function() {
|
|||
document.location.href = newLocation;
|
||||
}
|
||||
});
|
||||
|
||||
// Remote paginations
|
||||
$('div.pagination[data-remote] a').live('click', function() {
|
||||
$.getScript($(this).attr('href'));
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue