Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-34537 Enrolments: Assign alternative odd and even class to manual…

… enrol popup
  • Loading branch information...
commit 339c95491305845264742c463dc714174cf87267 1 parent bac15e5
@rajeshtaneja rajeshtaneja authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enrol/manual/yui/quickenrolment/quickenrolment.js
View
2  enrol/manual/yui/quickenrolment/quickenrolment.js
@@ -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)))
Please sign in to comment.
Something went wrong with that request. Please try again.