mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 20:41:17 +01:00
closes #3709
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user