public
Description: scriptaculous sortable w/ multiple selectable elements
Homepage: http://simplificator.com/scriptaculous-multidrag/
Clone URL: git://github.com/panter/scriptaculous-multidrag.git
name age message
file .gitignore Wed Oct 15 09:10:59 -0700 2008 initial commit [panter]
file README Mon Oct 20 07:52:05 -0700 2008 added homepage [panter]
file controls.js Wed Oct 15 09:10:59 -0700 2008 initial commit [panter]
file demo.js Sat Dec 13 05:07:44 -0800 2008 splitted d&d and sort code, added shift click b... [seb]
file dragdrop.js Mon Oct 20 07:14:31 -0700 2008 supported multiple element d&d and sorting [panter]
file effects.js Wed Oct 15 09:10:59 -0700 2008 initial commit [panter]
file index.html Sat Dec 13 05:07:44 -0800 2008 splitted d&d and sort code, added shift click b... [seb]
file multidrag.js Sat Dec 13 05:07:44 -0800 2008 splitted d&d and sort code, added shift click b... [seb]
file prototype.js Wed Oct 15 09:10:59 -0700 2008 initial commit [panter]
README
This is a demo of a scriptaculous sortable which supports multiple element drag
and drop like mentioned in http://dev.rubyonrails.org/ticket/2585

The demo is available at http://simplificator.com/scriptaculous-multidrag/

The demo shows a sortable and a droppable area. Entries can sorted or dropped to
the droppable area. If you drop an entry, the sortable will stay in the same
order.  By clicking on more than one entry, you can activate multi d&d.

I had to patch some lines of scriptys draganddrop.js to achieve the special
behaviour when dropping without sorting (it's not needed for the multi d&d but
for my own appliance). The code is a somewhat a hack, rants and patches welcome.