Added first/last page buttons

This commit is contained in:
Kasper Rynning-Tønnesen
2016-11-21 09:41:41 +01:00
parent 3efc7109f5
commit 5536fbda96
5 changed files with 78 additions and 11 deletions

View File

@@ -537,6 +537,16 @@ $(document).on("click", ".next_page", function(e){
List.dynamicContentPage(1);
});
$(document).on("click", ".last_page", function(e){
e.preventDefault();
List.dynamicContentPage(10);
});
$(document).on("click", ".first_page", function(e){
e.preventDefault();
List.dynamicContentPage(-10);
});
$(document).on('click', '#toast-container', function(){
$(".toast").fadeOut(function(){
$(".toast").remove();