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',