My Project Engineer (PE) has a step where they must review all attachments to the task and reconcile them. Once that's done, the PE has two choices: Reject to Start of Process (Reject) or Move to Part 5 (Approve). Reject works! Approve does nothing (it looks like it's being clicked, but I don't get any errors) ... not moving to the next task:
Here's some info from the PE Reconcile Attachments user task:
Here's what the bottom of the form looks like:
I can click the "Move to Part 5" button 25 times ... nothing. Here's the javascript I have in there:
$(document).ready(function(){
//Clear all dates
$('.pe2DateSigned input').attr("readonly", false);
$('.pe2DateSigned input').val('');
//set fields to hidden or readonly
$(".read-only *").prop("readonly", true);//make fields with read-only class read-only
$('.docNumberingID').hide();
//Check for blanks and fill with N/A
if($('.drafting input').val() == ''){
$('.drafting input').val('N/A');}
if($('.nuclear input').val() == ''){
$('.nuclear input').val('N/A');}
if($('.other input').val() == ''){
$('.other input').val('N/A');}
if($('.qae input').val() == ''){
$('.qae input').val('N/A');}
if($('.structural input').val() == ''){
$('.structural input').val('N/A');}
if($('.thermal input').val() == ''){
$('.thermal input').val('N/A');}
//Change background color for css = highlight
$('.highlightYellow').css('background','#ffff99');
//Make comments required when rejecting, removing required fields
$('.Reject').click(function() {
if($('#comments').val() == '')
{
alert('Please enter brief details into the Comments box before selecting this action');
return false;
}
$('*[required]').each(function() {
$(this).removeClass('required')
$(this).removeAttr('required');
});
});
}); //close document.ready
What am I missing????