From a09d97114ae07b4a527d87789456a1624a526c98 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 17 May 2012 16:34:16 +0200 Subject: Fix drag'n'drop. --- proto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto.js') 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) + ";"); } -- cgit v1.2.3