SELECT CATEGORY_UID, CATEGORY_NAME FROM PROCESS_CATEGORY
document.onkeypress=function(e){
var esIE=(document.all);
var esNS=(document.layers);
tecla=(esIE) ? event.keyCode : e.which;
if(tecla==13){
return false;
}
}
var verifyProcessInformation = function(oForm){
var nameProcess = getField('PRO_TITLE').value;
reqName=ajax_function('processes_Save','lookForNameProcess','NAMEPROCESS='+encodeURIComponent(nameProcess),'POST') ;
var oAux;
var bContinue = true;
oAux = oForm.elements['form[PRO_TITLE]'];
if (oAux.value == '')
{
alert("@#MESSAGE1");
oAux.focus();
bContinue = false;
} else {
if(reqName){
//the process name exists then we can't save it
alert(G_STRINGS.ID_EXIST_PROCESS);return false;
} else {
if (bContinue)
{
oForm.submit();
}
}
}
//return false;
};
function cancel(){
history.back();
}