From 48f9be4f3c77e3e869c10b0c9cda740ee7d1ff44 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 7 Dec 2017 23:37:06 +0100 Subject: [PATCH] minfix --- view/websocket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/websocket.js b/view/websocket.js index 165af3a..b59bb79 100644 --- a/view/websocket.js +++ b/view/websocket.js @@ -48,7 +48,7 @@ window.wsc_emergency = wsc.channel('emergency/31').listen(function(msg, err){ // {1} Rem messages from stack // for( var id in gstore.data.notif.emergency.data ) if( msg.del[ gstore.data.notif.emergency.data[id].id ] != null ) - delete gstore.data.notif.emergency.data[id]; + gstore.data.notif.emergency.data[id].message = 'Message supprimé'; }