diff --git a/parts/static/script.js b/parts/static/script.js index ae31607..4081da5 100644 --- a/parts/static/script.js +++ b/parts/static/script.js @@ -177,6 +177,10 @@ function show_part_info(partID) { $('table#details tr#description td input').val(text_filter(data.description)); $('table#details tr#notes td p').text(text_filter(data.notes)); $('input[name=notes-input]').val(text_filter(data.notes)); + // Resetting file input. Super dirty hack. Disgusting + var $el = $('#datasheet-finput'); + $el.wrap('