Fixed file upload input
This commit is contained in:
@@ -36,7 +36,6 @@ function init_edit() {
|
||||
$('#notes-info').replaceWith(notes_input);
|
||||
|
||||
var datasheet_input = $('<input type="file" class="part-edit-file" id="datasheet-input" accept=".pdf">')
|
||||
datasheet_input.val($('#datasheet-info').text());
|
||||
$('#datasheet-info').replaceWith(datasheet_input);
|
||||
|
||||
var newButton = '<div class="round-button"><a href="#" onclick="save()"><i class="fa fa-check" aria-hidden="true"></i></a></div>';
|
||||
|
||||
Reference in New Issue
Block a user