From 409c9768ce755cbe6440fd4f623e9fd2055ce54c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 7 Oct 2006 12:49:03 +0000 Subject: [PATCH] Debut gestion drag and drop des boxes --- htdocs/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/index.php b/htdocs/index.php index 53f046f425d..44ee5296510 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -543,7 +543,7 @@ if ($conf->use_ajax && $conf->browser->firefox && 1==2) print ");\n"; */ print 'new Draggable(\'boxobject_'.$ii.'\', {revert:false});'."\n"; - print 'Droppables.add(\'boxto_'.$ii.'\', {onDrop:function(element,dropon){alert(\'From:\' + encodeURIComponent(element.id) + \' To: \' + encodeURIComponent(dropon.id))}});'."\n"; + print 'Droppables.add(\'boxto_'.$ii.'\', {onDrop:function(element,dropon){alert(\'From: \' + encodeURIComponent(element.id) + \' - To: \' + encodeURIComponent(dropon.id))}});'."\n"; //print 'Droppables.add(\'box_'.$ii.'\', {onDrop:function(element,dropon){alert(\'w/o hoverclass, should be:\' + encodeURIComponent(element.id) )}});'."\n"; } print ''."\n";