|
|
|
@ -151,8 +151,7 @@ function show_part_info(partID) {
|
|
|
|
|
$('table#details tr#description td input').val(text_filter(data.description));
|
|
|
|
|
container_onchange();
|
|
|
|
|
if (data.datasheet != null) {
|
|
|
|
|
$('tr#datasheet-head').html($('<td>DATASHEET: <a href="' data.datasheet '"><i class="fa fa-file-text" aria-hidden="true"></i></a></td>'));
|
|
|
|
|
$('#datasheet-input').val(data.datasheet);
|
|
|
|
|
$('tr#datasheet-head').html($('<td>DATASHEET: <a href=""><i class="fa fa-file-text" aria-hidden="true"></i></a></td>'));
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
$('tr#datasheet-head td').text('DATASHEET: ');
|
|
|
|
|