summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-05-17 16:34:16 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2012-05-17 16:34:16 +0200
commita09d97114ae07b4a527d87789456a1624a526c98 (patch)
treee46960fa03072ab5691380392ff365e28cf82764
parent6bbda5aaa2714750ec21fc9dc1c13a16cc1f4cc1 (diff)
Fix drag'n'drop.
-rw-r--r--proto.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto.js b/proto.js
index e81083b..f3cece5 100644
--- a/proto.js
+++ b/proto.js
@@ -241,5 +241,5 @@ function drop(target, e) {
var id = e.dataTransfer.getData('Text');
var task = document.getElementById(id);
- socket_task.send("move " + id.substring(5, id.length) + " " + target.id.substring(5, target.id.length) + ";");
+ socket_task.send("move " + id.substring(12, id.length) + " " + target.id.substring(12, target.id.length) + ";");
}