Mistři v programování na #hovnokod

JavaScript #136

function check_finished_pending() {

var v_wrt_id = document.getElementById('writer_id').value;

if( 6 == 26 )
{
return confirm("Status 'finished pending' confirmation:\nAre you sure you made all needed operations on this order?");
}
else
{       //var normal_writer_id = 2520;
	if (( v_wrt_id != '2520' && v_wrt_id != 0))
	{
	//alert(v_wrt_id);
	window.open('writer_add_select.php?fid=2020727&writer_id='+v_wrt_id, 'Assign writer', 'location,width=650,height=600,top=0');
	return false;
	}
	else return confirm('Save?');
}

Anonymous,