mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-09 08:57:41 +08:00
Merge pull request #2758 from urbanrotnik/ur-sci-4750
Fix task error [SCI-4750]
This commit is contained in:
commit
4d2169c916
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class TinyMceAsset < ApplicationRecord
|
|||
asset.team.save
|
||||
end
|
||||
|
||||
def self.update_old_tinymce(description, obj = nil)
|
||||
def self.update_old_tinymce(description, obj = nil, import = false)
|
||||
return description unless description
|
||||
|
||||
description.scan(/\[~tiny_mce_id:(\w+)\]/).flatten.each do |token|
|
||||
|
|
Loading…
Reference in a new issue