The branch, master has been updated
via 9de870ce87e2c0a74df2ef7272fb80be6abb006e (commit)
from 01d6fed4e2c9594a36d6e688ea26d66946c7b080 (commit)
- Log -----------------------------------------------------------------
commit 9de870ce87e2c0a74df2ef7272fb80be6abb006e
Author: Marc Delisle <marc(a)infomarc.info>
Date: Thu Jul 1 07:30:29 2010 -0400
selecting a range of rows no longer worked
-----------------------------------------------------------------------
Summary of changes:
js/functions.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/js/functions.js b/js/functions.js
index a308018..f03b9e3 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -867,9 +867,9 @@ function PMA_markRowsInit() {
checkbox.checked = marked_row[unique_id];
if (typeof(event) == 'object') {
table = this.parentNode;
- i = 0;
- while (table.tagName.toLowerCase() != 'table' && i < 20) {
- i++;
+ parentTableLimit = 0;
+ while (table.tagName.toLowerCase() != 'table' && parentTableLimit < 20) {
+ parentTableLimit++;
table = table.parentNode;
}
@@ -884,7 +884,7 @@ function PMA_markRowsInit() {
}
while (i != this.rowIndex) {
- table.rows[i].onmousedown();
+ $(table.rows[i]).mousedown();
if (i < this.rowIndex) {
i++;
} else {
hooks/post-receive
--
phpMyAdmin