From ad2130f1bb41843673877bfeaa35a861413f2bd9 Mon Sep 17 00:00:00 2001 From: Myles Date: Thu, 30 Mar 2017 18:46:21 +0100 Subject: [PATCH] Fix a bug with sections not being displayed properly for new packets --- src/main/resources/static/js/modules/burger/PacketHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/static/js/modules/burger/PacketHandler.js b/src/main/resources/static/js/modules/burger/PacketHandler.js index 8939edf..af2b123 100644 --- a/src/main/resources/static/js/modules/burger/PacketHandler.js +++ b/src/main/resources/static/js/modules/burger/PacketHandler.js @@ -81,7 +81,7 @@ var packetHandler = { if (Object.keys(newJson).length > 0) { for (var newKey in newJson.changedPackets) { var val = newJson.changedPackets[newKey]; - packets[value.state][value.direction][val.id] = { + packets[val.state][val.direction][val.id] = { old: { id: -1 },