Update rsforms.py
This commit is contained in:
parent
e484ad2663
commit
4d3f91dd5e
|
@ -594,9 +594,9 @@ def inline_synthesis(request: Request) -> HttpResponse:
|
||||||
index = next(i for (i, cst) in enumerate(items) if cst.pk == replacement.pk)
|
index = next(i for (i, cst) in enumerate(items) if cst.pk == replacement.pk)
|
||||||
replacement = new_items[index]
|
replacement = new_items[index]
|
||||||
substitutions.append((original, replacement))
|
substitutions.append((original, replacement))
|
||||||
receiver.substitute(substitutions)
|
|
||||||
|
|
||||||
# TODO: propagate substitutions
|
PropagationFacade.before_substitute(substitutions, receiver)
|
||||||
|
receiver.substitute(substitutions)
|
||||||
|
|
||||||
receiver.restore_order()
|
receiver.restore_order()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user