summaryrefslogtreecommitdiff
path: root/src/ws
diff options
context:
space:
mode:
Diffstat (limited to 'src/ws')
-rw-r--r--src/ws/proto.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ws/proto.js b/src/ws/proto.js
index 5eadd70..f597503 100644
--- a/src/ws/proto.js
+++ b/src/ws/proto.js
@@ -158,8 +158,8 @@ try
detail: {
subscribeid: subscribeid,
id: id,
- name: msg[3],
- value: msg[4],
+ name: unescape(msg[3]),
+ value: unescape(msg[4]),
},
bubbles: true,
cancelable: true
@@ -236,7 +236,7 @@ function remove(id)
function update(id, name, value)
{
- transmit("update "+id+" "+name+" "+value);
+ transmit("update "+id+" "+escape(name)+" "+escape(value));
}
function move(id, parent, before)