From 41d2fa1a5ef4bcb85e381f2cbd37304e4bb4d990 Mon Sep 17 00:00:00 2001 From: Waheed Ahmed Date: Mon, 27 Oct 2014 18:44:45 +0500 Subject: [PATCH] Fixed upload button on high level source editing popup. TNL-222 --- cms/templates/widgets/source-edit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);