|
|
|
@ -166,7 +166,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>'));
|
|
|
|
|
$('tr#datasheet-head').html($('<td>DATASHEET: <a href="' + data.datasheet + '" target="_blank"><i class="fa fa-file-text" aria-hidden="true"></i></a></td>'));
|
|
|
|
|
$('input[name=datasheet-url-input]').val(data.datasheet);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|