diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-05-17 16:34:16 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2012-05-17 16:34:16 +0200 |
commit | a09d97114ae07b4a527d87789456a1624a526c98 (patch) | |
tree | e46960fa03072ab5691380392ff365e28cf82764 | |
parent | 6bbda5aaa2714750ec21fc9dc1c13a16cc1f4cc1 (diff) |
Fix drag'n'drop.
-rw-r--r-- | proto.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) + ";"); } |