Fixed file upload input

master
assar 8 years ago
parent 4eff258802
commit 7ae649b95a

@ -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>';

Loading…
Cancel
Save