diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-06-08 18:24:49 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2020-06-08 19:39:31 +0200 |
commit | 75d85549c6d2a5284593e20c21d61fc5d6200bca (patch) | |
tree | b5077e272f238b47af9530f9b2fac2e69839d063 /src/ws/proto.js | |
parent | 195bf2f6a7d7268a88338ae8fd3a30fdb5196300 (diff) |
Add 'insert before id' to create and move commands.
Diffstat (limited to 'src/ws/proto.js')
-rw-r--r-- | src/ws/proto.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ws/proto.js b/src/ws/proto.js index 035408f..5eadd70 100644 --- a/src/ws/proto.js +++ b/src/ws/proto.js @@ -129,6 +129,7 @@ try subscribeid: subscribeid, id: id, parentid: msg[3], + insertBeforeId: msg[4], }, bubbles: true, cancelable: true @@ -143,6 +144,7 @@ try subscribeid: subscribeid, id: id, parentid: msg[3], + insertBeforeId: msg[4], }, bubbles: true, cancelable: true @@ -237,7 +239,7 @@ function update(id, name, value) transmit("update "+id+" "+name+" "+value); } -function move(id, parent) +function move(id, parent, before) { - transmit("move "+id+" "+parent); + transmit("move "+id+" "+parent+" "+before); } |