Skip to content

Commit

Permalink
Dev: fixed again #6442 for Yii after last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Aug 8, 2012
1 parent 75acd52 commit 71d2e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/admin/updateset.js
Expand Up @@ -167,7 +167,7 @@ function add_label(event)
{
next_code='L001';
}
while ($('.answertable').find('input[value="'+next_code+'"]').length>0)
while ($('.answertable').find('input[value="'+next_code+'"]').length>0 && next_code!=$(this).closest('tr').find('.codeval').val())
{
next_code=getNextCode(next_code);
}
Expand Down

0 comments on commit 71d2e8c

Please sign in to comment.