From 2192fadc0bd940482fde2e2d1fcb00dfb9ad40bc Mon Sep 17 00:00:00 2001 From: Jakub Stanecki Date: Mon, 11 Sep 2017 20:58:12 -0300 Subject: [PATCH] Fix selecting multiple rows accidentally selects the next row too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #13669 Signed-off-by: Jakub Stanecki Signed-off-by: MaurĂ­cio Meneghini Fauth --- ChangeLog | 1 + js/functions.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4ab8f509ee..b716e28776 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,7 @@ phpMyAdmin - ChangeLog - issue #13639 Fixed error when browsing non SELECT results - issue #13533 Fixed saving column to display - issue #13647 Fixed export of tables with VIRTUAL columns +- issue #13669 Fixed selecting multiple rows accidentally selects the next row too 4.7.4 (2017-08-23) - issue #13415 Remove shadow from the logo diff --git a/js/functions.js b/js/functions.js index bad2c6789a..9054e42a16 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1069,7 +1069,7 @@ AJAX.registerOnload('functions.js', function () { end = last_clicked_row; } $tr.parent().find('tr:not(.noclick)') - .slice(start, end + 1) + .slice(start, end) .addClass('marked') .find(':checkbox') .prop('checked', true)