TEMPORARY disabled datasheet posting, because otherwise could not test other related functionality

master
Marek Baczynski 6 years ago
parent 42fb09f89b
commit 694310a733

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

Loading…
Cancel
Save