|
|
@ -36,7 +36,6 @@ function init_edit() {
|
|
|
|
$('#notes-info').replaceWith(notes_input);
|
|
|
|
$('#notes-info').replaceWith(notes_input);
|
|
|
|
|
|
|
|
|
|
|
|
var datasheet_input = $('<input type="file" class="part-edit-file" id="datasheet-input" accept=".pdf">')
|
|
|
|
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);
|
|
|
|
$('#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>';
|
|
|
|
var newButton = '<div class="round-button"><a href="#" onclick="save()"><i class="fa fa-check" aria-hidden="true"></i></a></div>';
|
|
|
|