From 476d0319fad29ceccfc157aed1a49c88fa499959 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 11 Jun 2020 21:32:44 +0200 Subject: Add crude add-child button to each node. --- src/ws/proto.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ws/proto.js') diff --git a/src/ws/proto.js b/src/ws/proto.js index f597503..234410a 100644 --- a/src/ws/proto.js +++ b/src/ws/proto.js @@ -224,9 +224,9 @@ function unsubscribe(id) transmit("unsubscribe "+id); } -function create(id, parent) +function create(id, parent, before) { - transmit("create "+id+" "+parent); + transmit("create "+id+" "+parent+" "+before); } function remove(id) -- cgit v1.2.3