diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-06-11 21:32:44 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-06-11 21:32:44 +0200 |
commit | 476d0319fad29ceccfc157aed1a49c88fa499959 (patch) | |
tree | 824a13afebf24a2216e66ae74ca491b0896170b7 /src/ws/proto.js | |
parent | 4877c43451d30a0ae0e2d3eaae6b684304683581 (diff) |
Add crude add-child button to each node.
Diffstat (limited to 'src/ws/proto.js')
-rw-r--r-- | src/ws/proto.js | 4 |
1 files changed, 2 insertions, 2 deletions
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) |