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