Skip to content

Commit

Permalink
Fixed issue #6442 : Adding labels fails without numbers in last Code …
Browse files Browse the repository at this point in the history
…field in Label Set editor

Dev: for label sets ....
  • Loading branch information
Shnoulle committed Aug 8, 2012
1 parent 6d68ed5 commit 5d7775e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/scripts/updateset.js
Expand Up @@ -166,7 +166,7 @@ function add_label(event)
{
next_code='L001';
}
while ($(this).parent().parent().parent().find('input[value="'+next_code+'"]').length>0)
while ($(this).parent().parent().parent().find('input[value="'+next_code+'"]').length>0 && next_code!=$(this).parent().parent().find('.codeval').val())
{
next_code=getNextCode(next_code);
}
Expand Down

0 comments on commit 5d7775e

Please sign in to comment.