Commit 70b4d3ad2546fab0e18a0ac2290c6b286e5861bb
1 parent
10fe0544
poprawka do wyboru homonimu do odsyłacza
Showing
1 changed file
with
1 additions
and
1 deletions
media/js/lexeme-edit.js
... | ... | @@ -905,7 +905,7 @@ var set_cr_homonym_number = function () { |
905 | 905 | callback: function (data) { |
906 | 906 | var lexemes = data.lexemes; |
907 | 907 | if (lexemes.length === 1) |
908 | - $t.find('.homonym-number').val(lexemes[0].homonym_number); | |
908 | + $t.find('.homonym-number').val(lexemes[0][0]); | |
909 | 909 | else if (lexemes.length > 1) { |
910 | 910 | homonym_choice( |
911 | 911 | data.labels, lexemes, $t.find('.homonym-number')); |
... | ... |