Commit eb429610 by Waheed Ahmed

Merge pull request #5734 from edx/waheed/tnl222-fix-upload-button-on-high-level-source-edit

Fixed upload button on high level source editing popup.
parents 78a50bd7 41d2fa1a
......@@ -54,7 +54,7 @@ require(["jquery", "jquery.leanModal", "codemirror/stex"], function($) {
## need to insert this only after hls triggered, because otherwise it
## causes other <form> elements to become multipart/form-data,
## thus breaking multiple-choice input forms, for example.
$('#hls-finput').append('<input type="file" name="hlsfile" id="hlsfile" />');
$('#hls-finput').html('<input type="file" name="hlsfile" id="hlsfile" />');
var el = $('#hls-modal-${hlskey}');
setup_autoupload(el);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment