mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-34537 Enrolments: Assign alternative odd and even class to manual enrol popup
This commit is contained in:
parent
bac15e5782
commit
339c954913
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ YUI.add('moodle-enrol_manual-quickenrolment', function(Y) {
|
|||
count++;
|
||||
var user = result.response.users[i];
|
||||
users.append(create('<div class="'+CSS.USER+' clearfix" rel="'+user.id+'"></div>')
|
||||
.addClass((i%2)?CSS.ODD:CSS.EVEN)
|
||||
.addClass((count%2)?CSS.ODD:CSS.EVEN)
|
||||
.append(create('<div class="'+CSS.COUNT+'">'+count+'</div>'))
|
||||
.append(create('<div class="'+CSS.PICTURE+'"></div>')
|
||||
.append(create(user.picture)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue