From f6ab34460e08b77f22e53c7e758c1ddd70bfbba3 Mon Sep 17 00:00:00 2001 From: Martin/Geno Date: Tue, 17 Jul 2018 23:13:51 +0200 Subject: [PATCH] Disable notification of successful node update --- webroot/js/socket.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/webroot/js/socket.js b/webroot/js/socket.js index c7584a5..5f3d808 100644 --- a/webroot/js/socket.js +++ b/webroot/js/socket.js @@ -158,12 +158,7 @@ export function delEvent (to, func) { export function sendnode(node, callback) { sendjson({'subject':'node-system','body': node}, (msg) => { - if(msg.body){ - notify.send({ - 'header': 'Speichern', - 'type': 'success', - }, `Einstellungen für '${node.node_id}' gespeichert.`); - }else{ + if(!msg.body) { notify.send({ 'header': 'Speichern', 'type': 'error',