diff -r c53e9b24f93f -r 813fec862542 client/app/app.js --- a/client/app/app.js Thu Oct 09 15:22:50 2014 +0200 +++ b/client/app/app.js Thu Oct 09 15:25:56 2014 +0200 @@ -123,11 +123,9 @@ log('Sent: ' + JSON.stringify(new_annot)); } } else { + alert('La socket ne fonctionne pas.'); if(context.logging===true){ - alert('La socket ne fonctionne pas.'); - if(context.logging===true){ - log('Not connected.'); - } + log('Not connected.'); } } };