that won't work. Try it like this:
Wrap both sortables in a div and make that draggable. Also use the 
handle property, so that not all of the div is a drag handler.

<div id="dragdrop1">
<div id="handle">blabla</div>
<ul id=firstlist><li /></ul>
</div>

<div id="dragdrop2">
<div id="handle">blabla</div>
<ul id=secondlist><li /></ul>
</div>

 Sortable.create("firstlist",
     
{dropOnEmpty:true,containment:["firstlist","secondlist"],constraint:false});
   Sortable.create("secondlist",
     {dropOnEmpty:true,containment:["firstlist","secondlist"],constraint:false})
new Draggable('dragdrop1',{revert:true, :handle:"handle"});
new Draggable('dragdrop2',{revert:true, :handle:"handle"});

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to