type: $('#type').val(),
vc: vc,
vc_id: $('#' + vc + '_id').val(),
+ project_id: $('#globalproject_id').val(),
};
$('[name^=id_],[name^=partnumber_]').each(function(idx, elt) {
this.activate_send_email_actions_regarding_printout = function() {
var selected = $('#email_form_attachment_policy').val();
$('#email_form_attachment_filename').parents('tr')[selected !== 'no_file' ? 'show' : 'hide']();
- $('#email_form_print_options')[selected === 'normal' ? 'show' : 'hide']();
+ $('#email_form_print_options')[selected !== 'no_file' ? 'show' : 'hide']();
};
// Printing records.