Add try and fix old bug

This commit is contained in:
Dany De Bontridder 2012-05-31 00:19:25 +00:00
parent c2684bd0f1
commit a1e7760954

View file

@ -66,6 +66,8 @@ function errorFid(request,json)
*/
function ajaxFid(p_ctl)
{
try
{
var gDossier=$('gDossier').value;
var jrn=$(p_ctl).jrn;
$(p_ctl).value=$(p_ctl).value.toUpperCase();
@ -125,6 +127,10 @@ function ajaxFid(p_ctl)
}
);
}catch (e) {
alert(e.message);
alert(p_ctl);
}
}
/*!\brief callback function for ajax