Commit 32917def8b5094e4749715eab7d36d229e5e0829
1 parent
4235c2c7
Adding phraseologic schema and semantic connections bugfix.
Showing
1 changed file
with
1 additions
and
0 deletions
dictionary/static/js/lemma-view.js
... | ... | @@ -4009,6 +4009,7 @@ function restore_lemma() { |
4009 | 4009 | && !schema['element'].is_phraseologic |
4010 | 4010 | && user_has_perm('dictionary.add_phraseologic_frames')) { |
4011 | 4011 | var duplicate = $.evalJSON($.toJSON(schema['element'])); |
4012 | + clearSemanticConnections(schema['type'], duplicate); | |
4012 | 4013 | duplicate.id = new_elem_id; |
4013 | 4014 | new_elem_id--; |
4014 | 4015 | duplicate.is_phraseologic = true; |
... | ... |