Browse files

Merge branch 'wip-mdl-34537-m23' of git://github.com/rajeshtaneja/moo…

…dle into MOODLE_23_STABLE
  • Loading branch information...
2 parents c62ccd7 + 339c954 commit 4ec133b8e60bb5fe4026c9a17ec46f3ae5ab2469 @nebgor nebgor committed Sep 4, 2012
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)))

0 comments on commit 4ec133b

Please sign in to comment.