selecting a range of rows no longer worked
This commit is contained in:
@@ -867,9 +867,9 @@ function PMA_markRowsInit() {
|
|||||||
checkbox.checked = marked_row[unique_id];
|
checkbox.checked = marked_row[unique_id];
|
||||||
if (typeof(event) == 'object') {
|
if (typeof(event) == 'object') {
|
||||||
table = this.parentNode;
|
table = this.parentNode;
|
||||||
i = 0;
|
parentTableLimit = 0;
|
||||||
while (table.tagName.toLowerCase() != 'table' && i < 20) {
|
while (table.tagName.toLowerCase() != 'table' && parentTableLimit < 20) {
|
||||||
i++;
|
parentTableLimit++;
|
||||||
table = table.parentNode;
|
table = table.parentNode;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -884,7 +884,7 @@ function PMA_markRowsInit() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
while (i != this.rowIndex) {
|
while (i != this.rowIndex) {
|
||||||
table.rows[i].onmousedown();
|
$(table.rows[i]).mousedown();
|
||||||
if (i < this.rowIndex) {
|
if (i < this.rowIndex) {
|
||||||
i++;
|
i++;
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user