mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
MDL-17807 Fixed skipped first column (Thanks Barry)
This commit is contained in:
parent
b827784e59
commit
f5c6409eaa
@ -2,7 +2,7 @@
|
||||
function set_row(idx) {
|
||||
var table = document.getElementById('user-grades');
|
||||
var rowsize = table.rows[idx].cells.length;
|
||||
for (var i = 1; i < rowsize; i++) {
|
||||
for (var i = 0; i < rowsize; i++) {
|
||||
if (table.rows[idx].cells[i]) {
|
||||
if (table.rows[idx].cells[i].className.search(/hmarked/) != -1) {
|
||||
table.rows[idx].cells[i].className = table.rows[idx].cells[i].className.replace(' hmarked', '');
|
||||
@ -25,4 +25,4 @@ function set_col(idx) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user