Use jQuery to bind click events on table rows

Patch #2982132
This commit is contained in:
Philip Frank
2010-04-06 09:32:12 +02:00
committed by Michal Čihař
parent 06bcb3ecfd
commit 18b435fed8

View File

@@ -833,7 +833,7 @@ function PMA_markRowsInit() {
continue;
}
// ... and to mark the row on click ...
rows[i].onmousedown = function(event) {
$(rows[i]).bind('mousedown', function(event) {
var unique_id;
var checkbox;
var table;
@@ -895,7 +895,7 @@ function PMA_markRowsInit() {
table.lastClicked = this.rowIndex;
}
}
}
});
// ... and disable label ...
var labeltag = rows[i].getElementsByTagName('label')[0];