Commit 9e79b38b authored by Jean-Benoist Leger's avatar Jean-Benoist Leger

Error messages

parent 95673dbb
......@@ -443,10 +443,26 @@ function updateRoutingStatus()
window.clearInterval(herve.displaytimer);
drawResults();
}
if(herve.State==17)
{
txt = '<p>Erreur: Points non connexes</p>';
}
if(herve.State==18)
{
txt = '<p>Erreur: Distance trop longue</p>';
}
if(herve.State==19)
{
txt = '<p>Erreur: WTF (19)</p>';
}
if(herve.State==21)
{
txt = '<p>Erreur: Inconsistant db (21)</p>';
}
if(herve.State==22)
{
txt = '<p>Erreur: Inconsistant db (22)</p>';
}
$('#status').html(txt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment