This commit is contained in:
barisusakli
2016-02-25 16:30:02 +02:00
parent 66c6c47b7c
commit 2fdb8fc5e1
2 changed files with 5 additions and 4 deletions

View File

@@ -110,5 +110,6 @@
"delete_all": "Delete All",
"map": "Map",
"sessions": "Login Sessions",
"ip_address": "IP Address"
"ip_address": "IP Address",
"enter_page_number": "Enter page number"
}

View File

@@ -5,11 +5,11 @@ define('forum/pagination', function() {
var pagination = {};
pagination.init = function() {
$('body').on('click', '.pagination .select-page', function(e) {
e.preventDefault();
bootbox.prompt('Enter page number:', function(pageNum) {
$('body').on('click', '[component="pagination/select-page"]', function() {
bootbox.prompt('[[global:enter_page_number]]', function(pageNum) {
pagination.loadPage(pageNum);
});
return false;
});
};