From c47b546bf08775d215da4bd07e7a93cbc68b322f Mon Sep 17 00:00:00 2001 From: PayBas Date: Sun, 1 Jun 2014 10:54:04 +0200 Subject: [ticket/12613] Renamed jump-to to page-jump to prevent confusion Jump-to can easily be confused with forum-jump. Also switched the lang vars to reflect changes better PHPBB3-12613 --- phpBB/styles/prosilver/template/forum_fn.js | 16 ++++++++-------- phpBB/styles/prosilver/template/pagination.html | 6 +++--- phpBB/styles/prosilver/theme/colours.css | 2 +- phpBB/styles/prosilver/theme/common.css | 20 ++++++++++---------- phpBB/styles/prosilver/theme/responsive.css | 2 +- 5 files changed, 23 insertions(+), 23 deletions(-) (limited to 'phpBB/styles/prosilver') diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index 3eadad59f9..a4d4c7527c 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -25,7 +25,7 @@ function popup(url, width, height, name) { /** * Jump to page */ -function jumpto(item) { +function pageJump(item) { var page = item.val(), per_page = item.attr('data-per-page'), @@ -356,22 +356,22 @@ function parse_document(container) * Pagination */ container.find('.pagination .page-jump-form :button').click(function() { - $input = $(this).siblings("input[name='page-number']"); - jumpto($input); + $input = $(this).siblings("input.inputbox"); + pageJump($input); }); - container.find(".pagination .page-jump-form input[name='page-number']").on("keypress", function(event) { + container.find(".pagination .page-jump-form input.inputbox").on("keypress", function(event) { if (event.which == 13 || event.keyCode == 13) { event.preventDefault(); - jumpto($(this)); + pageJump($(this)); } }); container.find('.pagination-trigger').click(function() { - $container = $(this).parent(); + $dropdown_container = $(this).parent(); - if (!$container.hasClass('dropdown-visible')) { - $input = $container.find("input[name='page-number']"); + if (!$dropdown_container.hasClass('dropdown-visible')) { + $input = $dropdown_container.find("input.inputbox"); setTimeout(function() { $input.focus(); },100); } }); diff --git a/phpBB/styles/prosilver/template/pagination.html b/phpBB/styles/prosilver/template/pagination.html index 6e2e02b31a..080a946ffd 100644 --- a/phpBB/styles/prosilver/template/pagination.html +++ b/phpBB/styles/prosilver/template/pagination.html @@ -1,11 +1,11 @@