summaryrefslogtreecommitdiff
path: root/src/ws/proto.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ws/proto.js')
-rw-r--r--src/ws/proto.js6
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);
}