diff --git a/cms/templates/widgets/source-edit.html b/cms/templates/widgets/source-edit.html index 60c59e87fa..6998193a31 100644 --- a/cms/templates/widgets/source-edit.html +++ b/cms/templates/widgets/source-edit.html @@ -54,7 +54,7 @@ require(["jquery", "jquery.leanModal", "codemirror/stex"], function($) { ## need to insert this only after hls triggered, because otherwise it ## causes other
elements to become multipart/form-data, ## thus breaking multiple-choice input forms, for example. - $('#hls-finput').append(''); + $('#hls-finput').html(''); var el = $('#hls-modal-${hlskey}'); setup_autoupload(el);