diff --git a/app/assets/javascripts/protocols/import_export/import.js.erb b/app/assets/javascripts/protocols/import_export/import.js.erb index 6ecc22fdb..329d131a7 100644 --- a/app/assets/javascripts/protocols/import_export/import.js.erb +++ b/app/assets/javascripts/protocols/import_export/import.js.erb @@ -270,7 +270,7 @@ function importProtocolFromFile( element.getAttribute('fileref')); var image_tag = "" description = description.replace(match, image_tag); // replace the token with image - }).bind(this); + }); // I know is crazy but is the only way I found to pass valid HTML return $('
').html( description.replace('