Fix file handling in protocol import/copying [SCI-3935][SCI-3926][SCI-3934]

This commit is contained in:
Oleksii Kriuchykhin 2019-09-30 10:25:11 +02:00 committed by aignatov-bio
parent 0aeeef85dc
commit 8f52b362d6

View file

@ -249,7 +249,6 @@ class Protocol < ApplicationRecord
def self.clone_contents(src, dest, current_user, clone_keywords)
assets_to_clone = []
dest.update(description: src.description)
src.clone_tinymce_assets(dest, dest.team)
# Update keywords
if clone_keywords